Comments (4)
$ kubectl get sts -n apisix-etcd apisix-etcd -o yaml
apiVersion: apps/v1
kind: StatefulSet
metadata:
annotations:
analysis.crane.io/resource-recommendation: |
containers:
- containerName: etcd
target:
cpu: 919m
memory: 345Mi
meta.helm.sh/release-name: apisix
meta.helm.sh/release-namespace: apisix-etcd
creationTimestamp: "2023-11-08T03:07:06Z"
generation: 1
labels:
app.kubernetes.io/instance: apisix
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: etcd
helm.sh/chart: etcd-8.7.7
name: apisix-etcd
namespace: apisix-etcd
resourceVersion: "79237527490"
uid: cd3f6f0f-b90c-47de-8dde-a6063bbc6a79
spec:
podManagementPolicy: Parallel
replicas: 3
revisionHistoryLimit: 10
selector:
matchLabels:
app.kubernetes.io/instance: apisix
app.kubernetes.io/name: etcd
serviceName: apisix-etcd-headless
template:
metadata:
annotations:
checksum/token-secret: e9052ee55d8042bd9dc5044ccbef68eaa6379df30eab9b56a64d81f7966e1833
creationTimestamp: null
labels:
app.kubernetes.io/instance: apisix
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: etcd
helm.sh/chart: etcd-8.7.7
spec:
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchLabels:
app.kubernetes.io/instance: apisix
app.kubernetes.io/name: etcd
topologyKey: kubernetes.io/hostname
weight: 1
containers:
- env:
- name: BITNAMI_DEBUG
value: "false"
- name: MY_POD_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
- name: MY_POD_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
- name: MY_STS_NAME
value: apisix-etcd
- name: ETCDCTL_API
value: "3"
- name: ETCD_ON_K8S
value: "yes"
- name: ETCD_START_FROM_SNAPSHOT
value: "no"
- name: ETCD_DISASTER_RECOVERY
value: "no"
- name: ETCD_NAME
value: $(MY_POD_NAME)
- name: ETCD_DATA_DIR
value: /bitnami/etcd/data
- name: ETCD_LOG_LEVEL
value: info
- name: ALLOW_NONE_AUTHENTICATION
value: "yes"
- name: ETCD_AUTH_TOKEN
value: jwt,priv-key=/opt/bitnami/etcd/certs/token/jwt-token.pem,sign-method=RS256,ttl=10m
- name: ETCD_ADVERTISE_CLIENT_URLS
value: http://$(MY_POD_NAME).apisix-etcd-headless.apisix-etcd.svc.cluster.local:2379,http://apisix-etcd.apisix-etcd.svc.cluster.local:2379
- name: ETCD_LISTEN_CLIENT_URLS
value: http://0.0.0.0:2379
- name: ETCD_INITIAL_ADVERTISE_PEER_URLS
value: http://$(MY_POD_NAME).apisix-etcd-headless.apisix-etcd.svc.cluster.local:2380
- name: ETCD_LISTEN_PEER_URLS
value: http://0.0.0.0:2380
- name: ETCD_INITIAL_CLUSTER_TOKEN
value: etcd-cluster-k8s
- name: ETCD_INITIAL_CLUSTER_STATE
value: new
- name: ETCD_INITIAL_CLUSTER
value: apisix-etcd-0=http://apisix-etcd-0.apisix-etcd-headless.apisix-etcd.svc.cluster.local:2380,apisix-etcd-1=http://apisix-etcd-1.apisix-etcd-headless.apisix-etcd.svc.cluster.local:2380,apisix-etcd-2=http://apisix-etcd-2.apisix-etcd-headless.apisix-etcd.svc.cluster.local:2380
- name: ETCD_CLUSTER_DOMAIN
value: apisix-etcd-headless.apisix-etcd.svc.cluster.local
image: docker.io/bitnami/etcd:3.5.7-debian-11-r14
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
exec:
command:
- /opt/bitnami/scripts/etcd/prestop.sh
livenessProbe:
exec:
command:
- /opt/bitnami/scripts/etcd/healthcheck.sh
failureThreshold: 5
initialDelaySeconds: 60
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 5
name: etcd
ports:
- containerPort: 2379
name: client
protocol: TCP
- containerPort: 2380
name: peer
protocol: TCP
readinessProbe:
exec:
command:
- /opt/bitnami/scripts/etcd/healthcheck.sh
failureThreshold: 5
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 5
resources: {}
securityContext:
allowPrivilegeEscalation: false
runAsNonRoot: true
runAsUser: 1001
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /bitnami/etcd
name: data
- mountPath: /opt/bitnami/etcd/certs/token/
name: etcd-jwt-token
readOnly: true
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext:
fsGroup: 1001
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
volumes:
- name: etcd-jwt-token
secret:
defaultMode: 256
secretName: apisix-etcd-jwt-token
updateStrategy:
type: RollingUpdate
volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
name: data
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 50Gi
volumeMode: Filesystem
status:
phase: Pending
status:
availableReplicas: 0
collisionCount: 0
currentReplicas: 3
currentRevision: apisix-etcd-855c56bdff
observedGeneration: 1
replicas: 3
updateRevision: apisix-etcd-855c56bdff
updatedReplicas: 3
from charts.
Hi,
Could you indicate which chart version are you using ? Currently apixsix uses etcd v10.0.0. Maybe you would like to give the latest version a try.
Did you check other events in your cluster ? Maybe there is something that could indicate why the pod are being restarted.
from charts.
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
from charts.
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.
from charts.
Related Issues (20)
- [bitnami/valkey] global.valkey.password does not override auth.password
- [bitnami/grafana-loki] loki default configuration is incompatible with appVersion: 3.0.0 HOT 1
- [bitnami/postgresql]: Error on CREAT EXTENSION earthdistance, Needs SUPERUSER HOT 6
- Missing volume certs in postgres-ha chart with tls enabled HOT 1
- [bitnami/kafka] failing to build a kafka 3 pod cluster using helm chart HOT 6
- Grafana Mimir - Error while configuring service monitors using bitnami mimir helm chart
- [bitnami/solr] Increase the expiration of self-signed certificate generated HOT 1
- [bitnami/postgresql-ha] Upgrade from 14.1.0 to 14.1.1 fails due to invalid exporter pod spec HOT 2
- [bitnami/mlflow] MLFLOW_S3_ENDPOINT_URL not inject if i dont want to use minio HOT 4
- LivenessProbes not working HOT 3
- [bitnami/argo-cd] argo-cd-notifications liveness problem HOT 1
- [Kafka] KeeperErrorCode = NoAuth for /config/users/user HOT 2
- Issue in upgrading rabbitmq from chart13 to 14 HOT 1
- [bitnami/mongodb] Problem with externalAccess and replicaset both enabled (slice index out of range) HOT 4
- rabbitmq-cluster-operator ValidatingWebhook fails to load caBundle with cert-manager enabled HOT 1
- [bitnami/postgresql-ha] nil pointer evaluating interface {}.postgresql after upgrade from 14.1.0 to 14.1.1 or 14.1.2
- [bitnami/jenkins] Jenkins, CASC, deprecated resources parameters HOT 1
- [bitnami/postgresql-ha] Postgresql-ha Deployment Failure When Adding Custom Host to pgHbaConfiguration in Values File HOT 1
- [bitnami/kube-prometheus] Add a prometheus.extraEnvVars HOT 1
- [bitnami/thanos] Thanos receive fails "no space left on device" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.