Worldskills 2024
Menu
Deployment
EC2
ECR
EKS
Serverless
Other
Utility
Best Practices
Deployment
EFS
Service+Ingress
aws-load-balancer-controller
utils
0 Clicks
eks without nat
EKS Deployment with efs
Copy
--- apiVersion: apps/v1 kind: Deployment metadata: name: server01 namespace: unicorn spec: selector: matchLabels: run: server01 replicas: 20 strategy: type: Recreate template: metadata: labels: run: server01 spec: volumes: - name: efs-claim persistentVolumeClaim: claimName: efs-claim containers: - name: server01 image: <IMAGE_ID> ports: - containerPort: 80 volumeMounts: - name: efs-claim mountPath: /efs subPath: '' ---
EKS Deployment
Copy
--- apiVersion: apps/v1 kind: Deployment metadata: name: server01 namespace: unicorn spec: selector: matchLabels: run: server01 replicas: 20 strategy: type: Recreate template: metadata: labels: run: server01 spec: containers: - name: server01 image: <IMAGE_ID> ports: - containerPort: 80 ---