Created
July 3, 2017 17:37
-
-
Save BenHall/c664732533b01cda23c04b20bc6420f7 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: | |
| labels: | |
| name: iis | |
| name: iis | |
| namespace: default | |
| spec: | |
| containers: | |
| - image: microsoft/iis | |
| imagePullPolicy: Always | |
| name: iis | |
| ports: | |
| - containerPort: 80 | |
| nodeSelector: | |
| beta.kubernetes.io/os: windows | |
| --- | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| labels: | |
| name: iis | |
| name: iis | |
| spec: | |
| ports: | |
| - port: 80 | |
| targetPort: 80 | |
| nodePort: 30080 | |
| selector: | |
| name: iis | |
| type: NodePort |
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: | |
| labels: | |
| name: nerddinner | |
| name: nerddinner | |
| namespace: default | |
| spec: | |
| containers: | |
| - image: benhall/nerddinner:v2.0 | |
| imagePullPolicy: Always | |
| name: nerddinner | |
| ports: | |
| - containerPort: 80 | |
| nodeSelector: | |
| beta.kubernetes.io/os: windows | |
| --- | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| labels: | |
| name: nerddinner | |
| name: nerddinner | |
| spec: | |
| ports: | |
| - port: 80 | |
| targetPort: 80 | |
| nodePort: 30081 | |
| selector: | |
| name: nerddinner | |
| type: NodePort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment