Created
September 20, 2021 12:34
-
-
Save kun432/d94323661719fc06e13e1e75f7e91848 to your computer and use it in GitHub Desktop.
LoadBalancer Serviceのサンプル
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: 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