Created
September 2, 2022 21:57
-
-
Save juanluisbaptiste/792617956a9a306e8051bee49f4c0394 to your computer and use it in GitHub Desktop.
Modified guestbook application Deployment manifest
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: frontend | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
app: guestbook | |
tier: frontend | |
template: | |
metadata: | |
labels: | |
app: guestbook | |
tier: frontend | |
spec: | |
containers: | |
- name: php-redis | |
image: juanluisbaptiste/guestbook-demo:{{ image_tag }} | |
imagePullPolicy: Always | |
env: | |
- name: GET_HOSTS_FROM | |
value: "dns" | |
resources: | |
requests: | |
cpu: 100m | |
memory: 100Mi | |
ports: | |
- containerPort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment