这个是我的FoundationDBCluster yaml 定义
下面 是我使用kubectl get fdb bnq-prod-fdb-cluster -oyaml 查看的结果,并没发现
sider 自定义镜像的配置。
apiVersion: apps.foundationdb.org/v1beta2
kind: FoundationDBCluster
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apps.foundationdb.org/v1beta2","kind":"FoundationDBCluster","metadata":{"annotations":{},"name":"bnq-prod-fdb-cluster","namespace":"default"},"spec":{"automationOptions":{"replacements":{"enabled":true}},"databaseConfiguration":{"redundancy_mode":"triple"},"imageType":"split","mainContainer":{"imageConfigs":[{"baseImage":"harbor.bnqoa.com/library/foundationdb"}]},"minimumUptimeSecondsForBounce":120,"processCounts":{"cluster_controller":1,"log":4,"stateless":-1,"storage":6},"processes":{"general":{"podTemplate":{"spec":{"containers":[{"name":"foundationdb","resources":{"requests":{"cpu":2,"memory":"4Gi"}},"securityContext":{"runAsUser":0}},{"name":"foundationdb-kubernetes-sidecar","resources":{"limits":{"cpu":"200m","memory":"256Mi"},"requests":{"cpu":"200m","memory":"256Mi"}},"securityContext":{"runAsUser":0}}],"hostAliases":[{"hostnames":["harbor.bnqoa.com"],"ip":"10.188.8.33"}],"imagePullSecrets":[{"name":"harbor-pull-secret"}],"initContainers":[{"name":"foundationdb-kubernetes-init","resources":{"limits":{"cpu":"200m","memory":"256Mi"},"requests":{"cpu":"200m","memory":"256Mi"}},"securityContext":{"runAsUser":0}}]}},"volumeClaimTemplate":{"spec":{"resources":{"requests":{"storage":"100G"}}}}}},"routing":{"useDNSInClusterFile":true},"sidecarContainer":{"enableLivenessProbe":true,"enableReadinessProbe":true},"useExplicitListenAddress":true,"version":"7.1.46"}}
creationTimestamp: "2024-12-09T02:48:21Z"
generation: 1
name: bnq-prod-fdb-cluster
namespace: default
resourceVersion: "6864011"
uid: 731161ff-af9c-4999-a18d-836390c44d5c
spec:
automationOptions:
deletionMode: Zone
podUpdateStrategy: ReplaceTransactionSystem
removalMode: Zone
replacements:
enabled: true
maxConcurrentReplacements: 1
databaseConfiguration:
redundancy_mode: triple
storage_engine: ssd-2
imageType: split
mainContainer:
imageConfigs:
- baseImage: harbor.bnqoa.com/library/foundationdb
minimumUptimeSecondsForBounce: 120
processCounts:
cluster_controller: 1
log: 4
stateless: -1
storage: 6
processes:
general:
podTemplate:
spec:
containers:
- name: foundationdb
resources:
requests:
cpu: 2
memory: 4Gi
securityContext:
runAsUser: 0
- name: foundationdb-kubernetes-sidecar
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 200m
memory: 256Mi
securityContext:
runAsUser: 0
hostAliases:
- hostnames:
- harbor.bnqoa.com
ip: 10.188.8.33
imagePullSecrets:
- name: harbor-pull-secret
initContainers:
- name: foundationdb-kubernetes-init
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 200m
memory: 256Mi
securityContext:
runAsUser: 0
volumeClaimTemplate:
spec:
resources:
requests:
storage: 100G
replaceInstancesWhenResourcesChange: false
routing:
useDNSInClusterFile: true
sidecarContainer:
enableLivenessProbe: true
enableReadinessProbe: true
skip: false
useExplicitListenAddress: true
version: 7.1.46
status:
databaseConfiguration:
storage_engine: ssd-2
generations:
needsConfigurationChange: 1
hasListenIPsForAllPods: true
health: {}
imageTypes:
- split
locks: {}
logServersPerDisk:
- 1
maintenanceModeInfo: {}
processGroups:
- addresses:
- 10.189.12.39
processClass: cluster_controller
processGroupConditions:
- timestamp: 1733712501
type: MissingProcesses
- timestamp: 1733712501
type: PodPending
processGroupID: cluster_controller-82697
- processClass: log
processGroupConditions:
- timestamp: 1733712501
type: MissingProcesses
- timestamp: 1733712501
type: PodPending
processGroupID: log-44888
- processClass: log
processGroupConditions:
- timestamp: 1733712501
type: MissingProcesses
- timestamp: 1733712501
type: PodPending
processGroupID: log-59995
- processClass: log
processGroupConditions:
- timestamp: 1733712501
type: MissingProcesses
- timestamp: 1733712501
type: PodPending
processGroupID: log-68736
- processClass: log
processGroupConditions:
- timestamp: 1733712501
type: MissingProcesses
- timestamp: 1733712501
type: PodPending
processGroupID: log-93048
- processClass: storage
processGroupConditions:
- timestamp: 1733712501
type: MissingProcesses
- timestamp: 1733712501
type: PodPending
processGroupID: storage-1555
- processClass: storage
processGroupConditions:
- timestamp: 1733712501
type: MissingProcesses
- timestamp: 1733712501
type: PodPending
processGroupID: storage-21723
- processClass: storage
processGroupConditions:
- timestamp: 1733712501
type: MissingProcesses
- timestamp: 1733712501
type: PodPending
processGroupID: storage-3219
- processClass: storage
processGroupConditions:
- timestamp: 1733712501
type: MissingProcesses
- timestamp: 1733712501
type: PodPending
processGroupID: storage-61991
- processClass: storage
processGroupConditions:
- timestamp: 1733712501
type: MissingProcesses
- timestamp: 1733712501
type: PodPending
processGroupID: storage-86812
- processClass: storage
processGroupConditions:
- timestamp: 1733712501
type: MissingProcesses
- timestamp: 1733712501
type: PodPending
processGroupID: storage-89290
requiredAddresses:
nonTLS: true
runningVersion: 7.1.46
storageServersPerDisk:
- 1