Created
November 20, 2017 16:02
-
-
Save gowatana/028d10f05a0845d4472152be78290e97 to your computer and use it in GitHub Desktop.
JPOUG in15m6 Kubernetesのサンプル
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: v1 | |
kind: Service | |
metadata: | |
name: hello-service | |
labels: | |
app: hello | |
spec: | |
type: NodePort | |
ports: | |
- port: 80 | |
selector: | |
app: hello | |
--- | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: hello | |
labels: | |
app: hello | |
spec: | |
containers: | |
- name: hello | |
image: nginxdemos/hello:latest | |
ports: | |
- containerPort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
下記の投稿むけ。
https://gowatana.blogspot.jp/2017/11/jpoug-15m6-doker.html