Created
April 7, 2021 18:31
-
-
Save kleimkuhler/811a432a1b9e03edbf52bd88272de26a 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: nginx-1 | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: nginx-1 | |
template: | |
metadata: | |
labels: | |
app: nginx-1 | |
spec: | |
containers: | |
- name: nginx-1 | |
image: ghcr.io/kleimkuhler/nginx-forward-proxy:v0.0.1 | |
imagePullPolicy: Always | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
terminationGracePeriodSeconds: 30 | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx-2 | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: nginx-2 | |
template: | |
metadata: | |
annotations: | |
linkerd.io/inject: enabled | |
labels: | |
app: nginx-2 | |
spec: | |
containers: | |
- name: nginx-2 | |
image: ghcr.io/kleimkuhler/nginx-forward-proxy:v0.0.1 | |
imagePullPolicy: Always | |
terminationMessagePath: /dev/termination-log | |
terminationMessagePolicy: File | |
dnsPolicy: ClusterFirst | |
restartPolicy: Always | |
schedulerName: default-scheduler | |
securityContext: {} | |
terminationGracePeriodSeconds: 30 | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: curl-1 | |
spec: | |
selector: | |
matchLabels: | |
app: curl-1 | |
template: | |
metadata: | |
labels: | |
app: curl-1 | |
spec: | |
containers: | |
- name: curl-1 | |
image: curlimages/curl | |
command: ["/bin/sleep", "3650d"] | |
imagePullPolicy: IfNotPresent | |
restartPolicy: Always | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: curl-2 | |
spec: | |
selector: | |
matchLabels: | |
app: curl-2 | |
template: | |
metadata: | |
annotations: | |
linkerd.io/inject: enabled | |
labels: | |
app: curl-2 | |
spec: | |
containers: | |
- name: curl-2 | |
image: curlimages/curl | |
command: ["/bin/sleep", "3650d"] | |
imagePullPolicy: IfNotPresent | |
restartPolicy: Always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment