Last active
September 17, 2019 06:24
-
-
Save alevz257/dedb4fdf5e5ab38beb7ca0749a1f45e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: eksworkshop-php | |
labels: | |
app: eksworkshop-php | |
namespace: default | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: eksworkshop-php | |
strategy: | |
rollingUpdate: | |
maxSurge: 25% | |
maxUnavailable: 25% | |
type: RollingUpdate | |
template: | |
metadata: | |
labels: | |
app: eksworkshop-php | |
spec: | |
containers: | |
- image: [image location] | |
imagePullPolicy: Always | |
name: eksworkshop-php | |
ports: | |
- containerPort: 80 | |
protocol: TCP | |
imagePullSecrets: | |
- name: ap-southeast-1-ecr-registry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment