remove vol mount

This commit is contained in:
gregory hendrickson
2023-01-26 05:44:48 -08:00
parent f8a7f2df60
commit 53841a6ac4
2 changed files with 17 additions and 16 deletions

View File

@@ -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.

View File

@@ -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