Skip to content

Instantly share code, notes, and snippets.

@kun432
Created September 20, 2021 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kun432/d94323661719fc06e13e1e75f7e91848 to your computer and use it in GitHub Desktop.
Save kun432/d94323661719fc06e13e1e75f7e91848 to your computer and use it in GitHub Desktop.
LoadBalancer Serviceのサンプル
apiVersion: v1
kind: Service
metadata:
name: bootcamp-service
spec:
type: LoadBalancer
ports:
- name: "http-port"
protocol: "TCP"
port: 8888
targetPort: 8080
nodePort: 30080
selector:
app: bootcamp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment