mirror of
https://github.com/ghndrx/blog-manifest.git
synced 2026-02-10 06:54:59 +00:00
remove vol mount
This commit is contained in:
23
README.md
23
README.md
@@ -10,17 +10,9 @@ Workloads/Services/Secrets/ConfigMaps
|
|||||||
|
|
||||||
kubectl apply -f namespace.yaml
|
kubectl apply -f namespace.yaml
|
||||||
|
|
||||||
kubectl apply -f blog-config-map.yaml
|
|
||||||
kubectl apply -f blog-secrets.yaml
|
|
||||||
kubectl apply -f mysql-config-map.yaml
|
|
||||||
kubectl apply -f mysql-secrets.yaml
|
|
||||||
|
|
||||||
kubectl apply -f volumes/traefik-pv.yaml
|
|
||||||
kubectl apply -f volumes/traefik-pvc.yaml
|
|
||||||
kubectl apply -f volumes/mysql-pv.yaml
|
|
||||||
kubectl apply -f volumes/mysql-pvc.yaml
|
|
||||||
kubectl apply -f volumes/blog-pv.yaml
|
|
||||||
kubectl apply -f volumes/blog-pvc.yaml
|
|
||||||
|
|
||||||
kubectl apply -f deployments/ghost-blog-deployment.yaml
|
kubectl apply -f deployments/ghost-blog-deployment.yaml
|
||||||
kubectl apply -f deployments/mysql-deployment.yaml
|
kubectl apply -f deployments/mysql-deployment.yaml
|
||||||
@@ -32,8 +24,17 @@ kubectl apply -f services/traefik-proxy-service.yaml
|
|||||||
|
|
||||||
kubectl apply -f services/LoadBalancer-traefik.yaml
|
kubectl apply -f services/LoadBalancer-traefik.yaml
|
||||||
|
|
||||||
|
kubectl apply -f blog-config-map.yaml
|
||||||
|
kubectl apply -f blog-secrets.yaml
|
||||||
|
kubectl apply -f mysql-config-map.yaml
|
||||||
|
kubectl apply -f mysql-secrets.yaml
|
||||||
kubectl apply -f services/ingress-service.yaml
|
kubectl apply -f services/ingress-service.yaml
|
||||||
|
kubectl apply -f volumes/traefik-pv.yaml
|
||||||
|
kubectl apply -f volumes/traefik-pvc.yaml
|
||||||
|
kubectl apply -f volumes/mysql-pv.yaml
|
||||||
|
kubectl apply -f volumes/mysql-pvc.yaml
|
||||||
|
kubectl apply -f volumes/blog-pv.yaml
|
||||||
|
kubectl apply -f volumes/blog-pvc.yaml
|
||||||
|
|
||||||
This will create the necessary resources in the cluster, including a deployment for the Ghost app, a service for connecting to the MySQL server, and an ingress service for routing traffic to the Ghost app via the nginx-proxy with https and http.
|
This will create the necessary resources in the cluster, including a deployment for the Ghost app, a service for connecting to the MySQL server, and an ingress service for routing traffic to the Ghost app via the nginx-proxy with https and http.
|
||||||
|
|
||||||
|
|||||||
@@ -26,11 +26,11 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
volumeMounts:
|
# volumeMounts:
|
||||||
- name: traefik-config
|
# - name: traefik-config
|
||||||
mountPath: /etc/traefik
|
# mountPath: /etc/traefik
|
||||||
- name: traefik-data
|
# - name: traefik-data
|
||||||
mountPath: /data/traefik
|
# mountPath: /data/traefik
|
||||||
args:
|
args:
|
||||||
- --api
|
- --api
|
||||||
- --entrypoints.web.address=:80
|
- --entrypoints.web.address=:80
|
||||||
|
|||||||
Reference in New Issue
Block a user