Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created February 24, 2024 11:36
Show Gist options
  • Save gowatana/35c32bfea8580cc8120337d96b766f6c to your computer and use it in GitHub Desktop.
Save gowatana/35c32bfea8580cc8120337d96b766f6c to your computer and use it in GitHub Desktop.
---
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
@gowatana
Copy link
Author

下記の投稿むけ。

CAPX Kubernetes クラスタで kube-vip LoadBalancer Service を作成してみる。
https://blog.ntnx.jp/entry/2024/02/24/204640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment