Skip to content

Instantly share code, notes, and snippets.

@uatec
Created March 3, 2017 23:40
Show Gist options
  • Save uatec/441748f90b3115d72c41a1ecc24547a5 to your computer and use it in GitHub Desktop.
Save uatec/441748f90b3115d72c41a1ecc24547a5 to your computer and use it in GitHub Desktop.
---
kind: Service
apiVersion: v1
metadata:
name: redis-test2
namespace: default
labels:
app: redis-test2
spec:
ports:
- name: tcp-6379-6379-iyv4b
protocol: TCP
port: 6379
targetPort: 6379
selector:
app: redis-test2
type: LoadBalancer
sessionAffinity: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment