Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qg-dockerfiles
Commits
29f91cb6
Commit
29f91cb6
authored
Aug 21, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mysql
parent
2db6e169
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
30 deletions
+28
-30
mysq-pv.yaml
mysql/mysq-pv.yaml
+14
-0
mysq-svc.yaml
mysql/mysq-svc.yaml
+14
-0
mysql-deployment.yaml
mysql/mysql-deployment.yaml
+0
-30
No files found.
mysql/mysq-pv.yaml
0 → 100644
View file @
29f91cb6
apiVersion
:
v1
kind
:
PersistentVolumeClaim
metadata
:
name
:
mysql-pv-claim
# annotations:
# volume.beta.kubernetes.io/storage-class: qingcloud-storageclass
labels
:
app
:
redpacket
spec
:
accessModes
:
-
ReadWriteOnce
resources
:
requests
:
storage
:
20Gi
\ No newline at end of file
mysql/mysq-svc.yaml
0 → 100644
View file @
29f91cb6
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
redpacket-mysql
namespace
:
redpacket-mysql
labels
:
app
:
redpacket
spec
:
ports
:
-
port
:
3306
selector
:
app
:
redpacket
tier
:
mysql
clusterIP
:
None
\ No newline at end of file
mysql/mysql-deployment.yaml
View file @
29f91cb6
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
redpacket-mysql
namespace
:
redpacket-mysql
labels
:
app
:
redpacket
spec
:
ports
:
-
port
:
3306
selector
:
app
:
redpacket
tier
:
mysql
clusterIP
:
None
---
apiVersion
:
v1
kind
:
PersistentVolumeClaim
metadata
:
name
:
mysql-pv-claim
# annotations:
# volume.beta.kubernetes.io/storage-class: qingcloud-storageclass
labels
:
app
:
redpacket
spec
:
accessModes
:
-
ReadWriteOnce
resources
:
requests
:
storage
:
20Gi
---
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment