Created
April 15, 2018 08:20
-
-
Save tsubakimoto/8f7fa836fc90087ce7a0f70854089d72 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/v1beta1 | |
kind: Deployment | |
metadata: | |
name: myaspnetcoreapp | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: myaspnetcoreapp | |
spec: | |
containers: | |
- name: myaspnetcoreapp | |
image: microsoft/dotnet-samples:aspnetapp | |
ports: | |
- containerPort: 80 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: myaspnetcoreapp | |
spec: | |
type: LoadBalancer | |
ports: | |
- port: 80 | |
selector: | |
app: myaspnetcoreapp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment