您的位置 首页 kubesphere

fluentbit-operator yaml

 

11

kind: Deployment
apiVersion: apps/v1
metadata:
  name: fluentbit-operator
  namespace: kubesphere-logging-system
  labels:
    app.kubernetes.io/component: operator
    app.kubernetes.io/name: fluentbit-operator
  annotations:
    deployment.kubernetes.io/revision: '1'
    kubectl.kubernetes.io/last-applied-configuration: >
      {"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"labels":{"app.kubernetes.io/component":"operator","app.kubernetes.io/name":"fluentbit-operator"},"name":"fluentbit-operator","namespace":"kubesphere-logging-system"},"spec":{"selector":{"matchLabels":{"app.kubernetes.io/component":"operator","app.kubernetes.io/name":"fluentbit-operator"}},"template":{"metadata":{"labels":{"app.kubernetes.io/component":"operator","app.kubernetes.io/name":"fluentbit-operator"}},"spec":{"affinity":{},"containers":[{"image":"registry.cn-beijing.aliyuncs.com/kubesphereio/fluentbit-operator:v0.13.0","name":"fluentbit-operator","resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"10m","memory":"20Mi"}},"volumeMounts":[{"mountPath":"/fluentbit-operator","name":"env"}]}],"initContainers":[{"command":["/bin/sh","-c","set
      -ex; echo CONTAINER_ROOT_DIR=$(docker info -f {{.DockerRootDir}}) \u003e
      /fluentbit-operator/fluent-bit.env"],"image":"registry.cn-beijing.aliyuncs.com/kubesphereio/docker:19.03","name":"setenv","volumeMounts":[{"mountPath":"/fluentbit-operator","name":"env"},{"mountPath":"/var/run/docker.sock","name":"dockersock","readOnly":true}]}],"nodeSelector":{},"serviceAccountName":"fluentbit-operator","tolerations":[],"volumes":[{"emptyDir":{},"name":"env"},{"hostPath":{"path":"/var/run/docker.sock"},"name":"dockersock"}]}}}}
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/component: operator
      app.kubernetes.io/name: fluentbit-operator
  template:
    metadata:
      creationTimestamp: null
      labels:
        app.kubernetes.io/component: operator
        app.kubernetes.io/name: fluentbit-operator
    spec:
      volumes:
        - name: env
          emptyDir: {}
        - name: dockersock
          hostPath:
            path: /var/run/docker.sock
            type: ''
      initContainers:
        - name: setenv
          image: 'registry.cn-beijing.aliyuncs.com/kubesphereio/docker:19.03'
          command:
            - /bin/sh
            - '-c'
            - >-
              set -ex; echo CONTAINER_ROOT_DIR=$(docker info -f
              {{.DockerRootDir}}) > /fluentbit-operator/fluent-bit.env
          resources: {}
          volumeMounts:
            - name: env
              mountPath: /fluentbit-operator
            - name: dockersock
              readOnly: true
              mountPath: /var/run/docker.sock
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
          imagePullPolicy: IfNotPresent
      containers:
        - name: fluentbit-operator
          image: >-
            registry.cn-beijing.aliyuncs.com/kubesphereio/fluentbit-operator:v0.13.0
          resources:
            limits:
              cpu: 100m
              memory: 50Mi
            requests:
              cpu: 10m
              memory: 20Mi
          volumeMounts:
            - name: env
              mountPath: /fluentbit-operator
          terminationMessagePath: /dev/termination-log
          terminationMessagePolicy: File
          imagePullPolicy: IfNotPresent
      restartPolicy: Always
      terminationGracePeriodSeconds: 30
      dnsPolicy: ClusterFirst
      serviceAccountName: fluentbit-operator
      serviceAccount: fluentbit-operator
      securityContext: {}
      affinity: {}
      schedulerName: default-scheduler
  strategy:
    type: RollingUpdate
    rollingUpdate:
      maxUnavailable: 25%
      maxSurge: 25%
  revisionHistoryLimit: 10
  progressDeadlineSeconds: 600

 

欢迎来撩 : 汇总all

白眉大叔

关于白眉大叔linux云计算: 白眉大叔

热门文章