jira部署yaml

明月清风 2020-07-27 13浏览 0条评论
首页/正文
分享到: / / / /

https://hub.docker.com/r/atlassian/jira-software

破解补丁

https://gitee.com/pengzhile/atlassian-agent

apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: jira
  name: jira
  namespace: public-service
spec:
  selector:
    matchLabels:
      app: jira
  template:
    metadata:
      labels:
        app: jira
    spec:
      containers:
      - env:
        - name: ATL_PROXY_NAME
          value: ***.com
        - name: ATL_PROXY_PORT
          value: "443"
        - name: ATL_TOMCAT_SCHEME
          value: https
        - name: ATL_TOMCAT_SECURE
          value: "true"
        - name: JVM_SUPPORT_RECOMMENDED_ARGS
          value: -javaagent:/opt/atlassian_agent/atlassian-agent.jar
        image: atlassian/jira-software:latest
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /status
            port: 8080
            scheme: HTTP
          initialDelaySeconds: 120
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 30
        name: jira
        ports:
        - containerPort: 8080
          name: web
          protocol: TCP
        volumeMounts:
        - mountPath: /opt/atlassian/jira/logs/
          name: logs
          subPath: jira/logs/
        - mountPath: /var/atlassian/application-data/jira/
          name: data
          subPath: jira/data/
        - mountPath: /opt/atlassian_agent/
          name: atlassian-agent
          subPath: atlassian_agent/
        - mountPath: /var/atlassian/application-data/jira/caches
          name: jira-index
          subPath: index/
      volumes:
      - flexVolume:
          driver: alicloud/nas
          options:
            options: nolock,tcp,noresvport
            path: /share
            server: nfs-server
            vers: "3"
        name: logs
      - flexVolume:
          driver: alicloud/nas
          options:
            options: nolock,tcp,noresvport
            path: /share
            server: nfs-server
            vers: "3"
        name: data
      - flexVolume:
          driver: alicloud/nas
          options:
            options: nolock,tcp,noresvport
            path: /share
            server: nfs-server
            vers: "3"
        name: atlassian-agent
      - name: jira-index
        persistentVolumeClaim:
          claimName: jira-index
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: jira
  name: jira
  namespace: public-service
spec:
  ports:
  - name: web
    port: 8080
    protocol: TCP
    targetPort: 8080
  selector:
    app: jira
  type: ClusterIP
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: jira
  namespace: public-service
spec:
  rules:
  - host: jira.huodada.com
    http:
      paths:
      - backend:
          serviceName: jira
          servicePort: 8080
        path: /
  tls:
  - secretName: ***.com

 

最后修改:2020-07-27 16:11:08 © 著作权归作者所有
如果觉得我的文章对你有用,请随意赞赏
扫一扫支付

上一篇

发表评论

评论列表

还没有人评论哦~赶快抢占沙发吧~