Last active
June 16, 2019 14:51
-
-
Save aivarasko/9cd038d1218a98263c9cb012cd2b9c9f 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
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| creationTimestamp: null | |
| labels: | |
| run: pod | |
| name: pod1 | |
| spec: | |
| containers: | |
| - args: | |
| - sleep | |
| - "10000" | |
| image: busybox | |
| name: pod | |
| resources: {} | |
| restartPolicy: Always | |
| status: {} | |
| --- | |
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| creationTimestamp: null | |
| labels: | |
| run: pod | |
| name: pod2 | |
| spec: | |
| containers: | |
| - args: | |
| - sleep | |
| - "10000" | |
| image: busybox | |
| name: pod | |
| resources: {} | |
| restartPolicy: Always | |
| status: {} | |
| --- | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| creationTimestamp: null | |
| labels: | |
| app: dd-service | |
| name: dd-service | |
| spec: | |
| ports: | |
| - name: 80-80 | |
| port: 80 | |
| protocol: TCP | |
| targetPort: 80 | |
| selector: | |
| name: whoami | |
| type: ClusterIP | |
| --- | |
| apiVersion: apps/v1 | |
| kind: DaemonSet | |
| metadata: | |
| name: dd-whoami | |
| namespace: default | |
| labels: | |
| k8s-app: whoami | |
| spec: | |
| selector: | |
| matchLabels: | |
| name: whoami | |
| template: | |
| metadata: | |
| labels: | |
| name: whoami | |
| spec: | |
| containers: | |
| - name: whoami | |
| image: containous/whoami |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment