Last active
February 9, 2021 17:25
-
-
Save csantanapr/e823b1bfab24186a26ae4f9ec1ff6091 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: v1 | |
kind: Namespace | |
metadata: | |
name: debug | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: my-deployment | |
namespace: debug | |
labels: | |
app: web | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: nginx | |
template: | |
metadata: | |
labels: | |
app: nginx | |
spec: | |
containers: | |
- name: app | |
image: bitnami/nginx:1.180 | |
ports: | |
- name: http | |
containerPort: 8080 | |
livenessProbe: | |
tcpSocket: | |
port: 80 | |
resources: | |
requests: | |
memory: "800Gi" | |
cpu: "10m" | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-service | |
namespace: debug | |
labels: | |
app: web | |
spec: | |
selector: | |
run: nginx | |
ports: | |
- name: http | |
port: 80 | |
targetPort: htp |
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: v1 | |
kind: Namespace | |
metadata: | |
name: debug | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: my-deployment | |
namespace: debug | |
labels: | |
app: web | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: nginx | |
template: | |
metadata: | |
labels: | |
app: nginx | |
spec: | |
containers: | |
- name: app | |
image: bitnami/nginx:1.18.0 | |
ports: | |
- name: http | |
containerPort: 8080 | |
livenessProbe: | |
tcpSocket: | |
port: 8080 | |
resources: | |
requests: | |
memory: "8Mi" | |
cpu: "10m" | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-service | |
namespace: debug | |
labels: | |
app: web | |
spec: | |
selector: | |
app: nginx | |
ports: | |
- name: http | |
port: 80 | |
targetPort: http |
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
LS0tCmFwaVZlcnNpb246IHYxCmtpbmQ6IE5hbWVzcGFjZQptZXRhZGF0YToKICBuYW1lOiBkZWJ1ZwotLS0KYXBpVmVyc2lvbjogYXBwcy92MQpraW5kOiBEZXBsb3ltZW50Cm1ldGFkYXRhOgogIG5hbWU6IG15LWRlcGxveW1lbnQKICBuYW1lc3BhY2U6IGRlYnVnCiAgbGFiZWxzOgogICAgYXBwOiB3ZWIKc3BlYzoKICByZXBsaWNhczogMQogIHNlbGVjdG9yOgogICAgbWF0Y2hMYWJlbHM6CiAgICAgIGFwcDogbmdpbngKICB0ZW1wbGF0ZToKICAgIG1ldGFkYXRhOgogICAgICBsYWJlbHM6CiAgICAgICAgYXBwOiBuZ2lueAogICAgc3BlYzoKICAgICAgY29udGFpbmVyczoKICAgICAgICAtIG5hbWU6IGFwcAogICAgICAgICAgaW1hZ2U6IGJpdG5hbWkvbmdpbng6MS4xODAKICAgICAgICAgIHBvcnRzOgogICAgICAgICAgICAtIG5hbWU6IHdlYgogICAgICAgICAgICAgIGNvbnRhaW5lclBvcnQ6IDgwODAKICAgICAgICAgIGxpdmVuZXNzUHJvYmU6CiAgICAgICAgICAgIHRjcFNvY2tldDoKICAgICAgICAgICAgICBwb3J0OiA4MAogICAgICAgICAgcmVzb3VyY2VzOgogICAgICAgICAgICByZXF1ZXN0czoKICAgICAgICAgICAgICBtZW1vcnk6ICI4R2kiCiAgICAgICAgICAgICAgY3B1OiAiMTBtIgotLS0KYXBpVmVyc2lvbjogdjEKa2luZDogU2VydmljZQptZXRhZGF0YToKICBuYW1lOiBteS1zZXJ2aWNlCiAgbmFtZXNwYWNlOiBkZWJ1ZwogIGxhYmVsczoKICAgIGFwcDogd2ViCnNwZWM6CiAgc2VsZWN0b3I6CiAgICBydW46IG5naW54CiAgcG9ydHM6CiAgICAtIG5hbWU6IGh0dHAKICAgICAgcG9ydDogODAKICAgICAgdGFyZ2V0UG9ydDogaHR0cAo= |
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: v1 | |
kind: Namespace | |
metadata: | |
name: debug | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: my-deployment | |
namespace: debug | |
labels: | |
app: web | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: nginx | |
template: | |
metadata: | |
labels: | |
app: nginx | |
spec: | |
containers: | |
- name: app | |
image: bitnami/nginx:1.18.0 | |
ports: | |
- name: http | |
containerPort: 8080 | |
livenessProbe: | |
tcpSocket: | |
port: 8080 | |
resources: | |
requests: | |
memory: "8Mi" | |
cpu: "10m" | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: my-service | |
namespace: debug | |
labels: | |
app: web | |
spec: | |
selector: | |
app: nginx | |
ports: | |
- name: http | |
port: 80 | |
targetPort: http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment