Last active
August 25, 2021 11:27
-
-
Save riskiwah/9ad14d26b323220a9a05e9466250e51d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: nginx-debug-svc | |
spec: | |
selector: | |
app: nginx-debug | |
type: ClusterIP | |
ports: | |
- name: http | |
port: 80 | |
targetPort: 80 | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx-debug | |
spec: | |
selector: | |
matchLabels: | |
app: nginx-debug | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: nginx-debug | |
spec: | |
containers: | |
- name: nginx | |
image: nginx:alpine | |
ports: | |
- containerPort: 80 |
This file contains hidden or 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
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: nginx-debug-inject | |
spec: | |
selector: | |
app: nginx-debug-inject | |
type: ClusterIP | |
ports: | |
- name: http | |
port: 80 | |
targetPort: 80 | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx-debug-inject | |
spec: | |
selector: | |
matchLabels: | |
app: nginx-debug-inject | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: nginx-debug-inject | |
spec: | |
containers: | |
- name: nginx | |
image: nginx:alpine | |
ports: | |
- containerPort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment