Created
January 5, 2022 12:50
-
-
Save janakiramm/c6ad68f4b3c53efe2d25ac70ed57c0df 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: Service | |
metadata: | |
name: web | |
namespace: mywebapp | |
labels: | |
name: web | |
app: mywebapp | |
spec: | |
selector: | |
name: web | |
type: ClusterIP | |
ports: | |
- name: http | |
port: 80 | |
targetPort: 80 | |
protocol: TCP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment