Created
August 24, 2018 15:52
-
-
Save mikeraimondi/9ef7bcbbeb135aac01b5e2b83c4f3a9c to your computer and use it in GitHub Desktop.
redis-rest-services.yaml
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: redis-rest | |
namespace: MY_NAMESPACE | |
spec: | |
type: NodePort | |
ports: | |
- name: http | |
port: 80 | |
targetPort: 8080 | |
selector: | |
MY_LABEL: MY_LABEL_VALUE | |
--- | |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: redis-rest | |
namespace: MY_NAMESPACE | |
spec: | |
backend: | |
serviceName: redis-rest | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment