-
-
Save gowatana/35c32bfea8580cc8120337d96b766f6c 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: v1 | |
kind: Pod | |
metadata: | |
name: web2048 | |
labels: | |
run: web2048 | |
spec: | |
containers: | |
- name: web2048 | |
image: gowatana/docker-2048 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: web2048 | |
spec: | |
type: LoadBalancer | |
loadBalancerIP: 192.168.12.202 | |
ports: | |
- port: 80 | |
protocol: TCP | |
targetPort: 80 | |
sessionAffinity: None | |
selector: | |
run: web2048 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
下記の投稿むけ。
CAPX Kubernetes クラスタで kube-vip LoadBalancer Service を作成してみる。
https://blog.ntnx.jp/entry/2024/02/24/204640