Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kind: StatefulSet
- apiVersion: apps/v1
- metadata:
- annotations:
- operator.victoriametrics/last-applied-spec: >-
- {"retentionPeriod":"14","replicationFactor":1,"clusterVersion":"v1.80.0-cluster","vmselect":{"image":{},"replicaCount":3,"resources":{},"topologySpreadConstraints":[{"maxSkew":1,"topologyKey":"topology.kubernetes.io/zone","whenUnsatisfiable":"DoNotSchedule","labelSelector":{"matchLabels":{"node-role":"monitoring"}}}]},"vminsert":{"image":{},"replicaCount":3,"resources":{},"topologySpreadConstraints":[{"maxSkew":1,"topologyKey":"topology.kubernetes.io/zone","whenUnsatisfiable":"DoNotSchedule","labelSelector":{"matchLabels":{"node-role":"monitoring"}}}]},"vmstorage":{"image":{},"replicaCount":3,"resources":{},"topologySpreadConstraints":[{"maxSkew":1,"topologyKey":"topology.kubernetes.io/zone","whenUnsatisfiable":"DoNotSchedule","labelSelector":{"matchLabels":{"node-role":"monitoring"}}}],"storage":{"volumeClaimTemplate":{"metadata":{},"spec":{"resources":{"requests":{"storage":"50Gi"}},"storageClassName":"yc-network-ssd"},"status":{}}}}}
- resourceVersion: '100784506'
- name: vmstorage-vm
- uid: 700e8713-e51f-4ad3-b7f1-5e146dd5e440
- creationTimestamp: '2022-08-30T09:03:13Z'
- generation: 2
- namespace: monitoring
- ownerReferences:
- - apiVersion: operator.victoriametrics.com/v1beta1
- kind: VMCluster
- name: vm
- uid: aa5faa01-53d0-4a39-849e-8e1ec4fac064
- controller: true
- blockOwnerDeletion: true
- finalizers:
- - apps.victoriametrics.com/finalizer
- labels:
- app.kubernetes.io/component: monitoring
- app.kubernetes.io/instance: vm
- app.kubernetes.io/name: vmstorage
- managed-by: vm-operator
- spec:
- replicas: 3
- selector:
- matchLabels:
- app.kubernetes.io/component: monitoring
- app.kubernetes.io/instance: vm
- app.kubernetes.io/name: vmstorage
- managed-by: vm-operator
- template:
- metadata:
- creationTimestamp: null
- labels:
- app.kubernetes.io/component: monitoring
- app.kubernetes.io/instance: vm
- app.kubernetes.io/name: vmstorage
- managed-by: vm-operator
- spec:
- restartPolicy: Always
- serviceAccountName: vmcluster-vm
- schedulerName: default-scheduler
- terminationGracePeriodSeconds: 30
- securityContext: {}
- containers:
- - resources:
- limits:
- cpu: '1'
- memory: 1500Mi
- requests:
- cpu: 250m
- memory: 500Mi
- readinessProbe:
- httpGet:
- path: /health
- port: 8482
- scheme: HTTP
- timeoutSeconds: 5
- periodSeconds: 5
- successThreshold: 1
- failureThreshold: 10
- terminationMessagePath: /dev/termination-log
- name: vmstorage
- ports:
- - name: http
- containerPort: 8482
- protocol: TCP
- - name: vminsert
- containerPort: 8400
- protocol: TCP
- - name: vmselect
- containerPort: 8401
- protocol: TCP
- imagePullPolicy: IfNotPresent
- volumeMounts:
- - name: vmstorage-db
- mountPath: vmstorage-data
- terminationMessagePolicy: FallbackToLogsOnError
- image: >-
- cr.yandex/crp6sqve85gkqb3gn13u/external/victoriametrics/vmstorage:v1.80.0-cluster
- args:
- - '-dedup.minScrapeInterval=1ms'
- - '-httpListenAddr=:8482'
- - '-retentionPeriod=14'
- - '-storageDataPath=vmstorage-data'
- - '-vminsertAddr=:8400'
- - '-vmselectAddr=:8401'
- topologySpreadConstraints:
- - maxSkew: 1
- topologyKey: topology.kubernetes.io/zone
- whenUnsatisfiable: DoNotSchedule
- labelSelector:
- matchLabels:
- node-role: monitoring
- serviceAccount: vmcluster-vm
- dnsPolicy: ClusterFirst
- volumeClaimTemplates:
- - kind: PersistentVolumeClaim
- apiVersion: v1
- metadata:
- name: vmstorage-db
- creationTimestamp: null
- spec:
- accessModes:
- - ReadWriteOnce
- resources:
- requests:
- storage: 50Gi
- storageClassName: yc-network-ssd
- volumeMode: Filesystem
- status:
- phase: Pending
- serviceName: vmstorage-vm
- podManagementPolicy: Parallel
- updateStrategy:
- type: OnDelete
- revisionHistoryLimit: 10
Advertisement
Add Comment
Please, Sign In to add comment