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
96b28e67
Commit
96b28e67
authored
Oct 20, 2017
by
daidekun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove
parent
cd4498a0
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
190 deletions
+0
-190
mysq-pv.yaml
mysql/mysq-pv.yaml
+0
-14
mysq-svc.yaml
mysql/mysq-svc.yaml
+0
-14
mysql-deployment.yaml
mysql/mysql-deployment.yaml
+0
-33
redpacket-server-deployment.yml
redpacket/redpacket-server-deployment.yml
+0
-23
ingress-rbac.yaml
tools/traefik/ingress-rbac.yaml
+0
-20
traefik-ingress-deployment.yaml
tools/traefik/traefik-ingress-deployment.yaml
+0
-39
traefik-ui.yaml
tools/traefik/traefik-ui.yaml
+0
-27
traefik.yaml
tools/traefik/traefik.yaml
+0
-20
No files found.
mysql/mysq-pv.yaml
deleted
100644 → 0
View file @
cd4498a0
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
deleted
100644 → 0
View file @
cd4498a0
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
deleted
100644 → 0
View file @
cd4498a0
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
redpacket-mysql
labels
:
app
:
redpacket
spec
:
strategy
:
type
:
Recreate
template
:
metadata
:
labels
:
app
:
redpacket
tier
:
mysql
spec
:
containers
:
-
image
:
dockerhub.qingcloud.com/mysql:5.6
name
:
mysql
env
:
# $ kubectl create secret generic mysql-pass --from-file=password.txt
# make sure password.txt does not have a trailing newline
-
name
:
MYSQL_ROOT_PASSWORD
value
:
Quantgroup2017
ports
:
-
containerPort
:
3306
name
:
mysql
volumeMounts
:
-
name
:
mysql-persistent-storage
mountPath
:
/var/lib/mysql
volumes
:
-
name
:
mysql-persistent-storage
persistentVolumeClaim
:
claimName
:
mysql-pv-claim
\ No newline at end of file
redpacket/redpacket-server-deployment.yml
deleted
100644 → 0
View file @
cd4498a0
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
redpacket-server
labels
:
name
:
redpacket-server
spec
:
replicas
:
1
template
:
metadata
:
name
:
redpacket-server
labels
:
name
:
redpacket
spec
:
containers
:
-
name
:
"
redpacket-server"
image
:
"
192.168.4.36/redpacket/redpacket:0.0.1-master-SNAPSHOT"
ports
:
-
containerPort
:
8080
-
containerPort
:
7031
imagePullPolicy
:
Always
imagePullSecrets
:
-
name
:
k8s-to-harbor-secret
\ No newline at end of file
tools/traefik/ingress-rbac.yaml
deleted
100644 → 0
View file @
cd4498a0
apiVersion
:
v1
kind
:
ServiceAccount
metadata
:
name
:
ingress
namespace
:
kube-system
---
kind
:
ClusterRoleBinding
apiVersion
:
rbac.authorization.k8s.io/v1beta1
metadata
:
name
:
ingress
subjects
:
-
kind
:
ServiceAccount
name
:
ingress
namespace
:
kube-system
roleRef
:
kind
:
ClusterRole
name
:
cluster-admin
apiGroup
:
rbac.authorization.k8s.io
\ No newline at end of file
tools/traefik/traefik-ingress-deployment.yaml
deleted
100644 → 0
View file @
cd4498a0
apiVersion
:
extensions/v1beta1
kind
:
Deployment
metadata
:
name
:
traefik-ingress-lb
namespace
:
kube-system
labels
:
k8s-app
:
traefik-ingress-lb
spec
:
template
:
metadata
:
labels
:
k8s-app
:
traefik-ingress-lb
name
:
traefik-ingress-lb
spec
:
terminationGracePeriodSeconds
:
60
hostNetwork
:
true
restartPolicy
:
Always
serviceAccountName
:
ingress
containers
:
-
image
:
traefik
name
:
traefik-ingress-lb
resources
:
limits
:
cpu
:
200m
memory
:
30Mi
requests
:
cpu
:
100m
memory
:
20Mi
ports
:
-
name
:
http
containerPort
:
80
hostPort
:
80
-
name
:
admin
containerPort
:
8580
hostPort
:
8580
args
:
-
--web
-
--web.address=:8580
-
--kubernetes
\ No newline at end of file
tools/traefik/traefik-ui.yaml
deleted
100644 → 0
View file @
cd4498a0
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
traefik-web-ui
namespace
:
kube-system
spec
:
selector
:
k8s-app
:
traefik-ingress-lb
ports
:
-
name
:
web
port
:
80
targetPort
:
8580
---
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
name
:
traefik-web-ui
namespace
:
kube-system
spec
:
rules
:
-
host
:
traefik-ui.local
http
:
paths
:
-
path
:
/
backend
:
serviceName
:
traefik-web-ui
servicePort
:
web
\ No newline at end of file
tools/traefik/traefik.yaml
deleted
100644 → 0
View file @
cd4498a0
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
name
:
traefik-ingress
spec
:
rules
:
-
host
:
traefik.nginx.io
http
:
paths
:
-
path
:
/
backend
:
serviceName
:
my-nginx
servicePort
:
80
-
host
:
traefik.frontend.io
http
:
paths
:
-
path
:
/
backend
:
serviceName
:
frontend
servicePort
:
80
\ No newline at end of file
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