Skip to content

Instantly share code, notes, and snippets.

@jc1518
Created November 6, 2019 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jc1518/81bb1a44c6ed00471592835592ca19c8 to your computer and use it in GitHub Desktop.
Save jc1518/81bb1a44c6ed00471592835592ca19c8 to your computer and use it in GitHub Desktop.
Jira service with stick sessions config file on k8s
---
apiVersion: v1
kind: Service
metadata:
name: jira
labels:
app: jira
annotations:
traefik.ingress.kubernetes.io/affinity: "true"
traefik.ingress.kubernetes.io/session-cookie-name: "sticky"
spec:
type: NodePort
ports:
- port: 8080
targetPort: 8080
selector:
app: jira
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment