Last active
July 4, 2018 14:20
-
-
Save skiptomyliu/977f93fde04d9e172543856de6a6fe69 to your computer and use it in GitHub Desktop.
kube tutorial ingress
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: webserver | |
namespace: webserver | |
spec: | |
ports: | |
- port: 80 | |
targetPort: 3000 | |
protocol: TCP | |
selector: | |
app: webserver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment