postgres 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 # Create service | |
metadata: | |
name: postgres # Sets the service name | |
namespace: default | |
labels: | |
app: postgres # Defines app to create service for | |
spec: | |
#type: # Sets the service type | |
ports: | |
- protocol: TCP | |
port: 31653 | |
targetPort: 5432 | |
selector: | |
app: postgres | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment