All Downloads are FREE. Search and download functionalities are using the official Maven repository.

k8s.async-minion-deployment.yml Maven / Gradle / Ivy

The newest version!
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: "{{name}}"
    container: async-minion
    group: microcks
    app.kubernetes.io/component: async-minion
    app.kubernetes.io/managed-by: microcks-operator
    app.openshift.io/runtime: quarkus
spec:
  strategy:
    type: Recreate
  replicas: 1
  selector:
    matchLabels:
      app: "{{name}}"
      deployment: async-minion
      container: async-minion
      group: microcks
  template:
    metadata:
      labels:
        app: "{{name}}"
        deployment: async-minion
        container: async-minion
        group: microcks
    spec:
      containers:
        - name: async-minion
          imagePullPolicy: IfNotPresent
          env:
            - name: QUARKUS_PROFILE
              value: kube
          ports:
            - containerPort: 8080
              protocol: TCP
          livenessProbe:
            httpGet:
              path: "/q/health/live"
              port: 8080
              scheme: HTTP
            initialDelaySeconds: 5
            timeoutSeconds: 2
            periodSeconds: 5
            successThreshold: 1
            failureThreshold: 3
          readinessProbe:
            httpGet:
              path: "/q/health/ready"
              port: 8080
              scheme: HTTP
            initialDelaySeconds: 10
            timeoutSeconds: 2
            periodSeconds: 10
            successThreshold: 1
            failureThreshold: 3
          volumeMounts:
            - name: "async-minion-config"
              mountPath: "/deployments/config"
          terminationMessagePath: "/dev/termination-log"
      volumes:
        - name: "async-minion-config"
          configMap:
            name: "{{name}}-async-minion-config"




© 2015 - 2025 Weber Informatics LLC | Privacy Policy