You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I install the cassandra cluster by k8ssandra operator. The configuration describe as below:
cassandra:
# Version of Apache Cassandra to deployversion: "4.0.1"#"3.11.10"# -- Security context override for cassandra containersecurityContext:
# -- Mark root filesystem as read only#readOnlyRootFilesystem: false# -- Run cass-operator container as non-root user# runAsNonRoot: true# runAsNonRoot: true# # -- Group for the user running the cass-operator container / process# # runAsGroup: 65534## runAsGroup: 65534# # -- User for running the cass-operator container / process# # runAsUser: 65534# runAsUser: 65534# -- Security context override for pod where Cassandra container residespodSecurityContext:
#readOnlyRootFilesystem: false# runAsNonRoot: true# runAsUser: 999# runAsGroup: 999# fsGroup: 999fsGroup: 999# Configuration for the /var/lib/cassandra mount pointcassandraLibDirVolume:
# AWS provides this storage class on EKS clusters out of the box. Note we# are using `gps` here as it has `volumeBindingMode: WaitForFirstConsumer`# which is important during scheduling.storageClass: gp3# The recommended live data size is 1 - 1.5 TB. A 2 TB volume supports this# much data along with room for compactions. Consider increasing this value# as the number of provisioned IOPs is directly related to the volume size.size: 256Gi # 2048GiallowMultipleNodesPerWorker: trueheap:
size: 8G#31GnewGenSize: 1G#31Gresources:
requests:
cpu: 4000m#7000mmemory: 16Gi #60Gilimits:
cpu: 4000m#7000mmemory: 16Gi #60Gi# This key defines the logical topology of your cluster. The rack names and# labels should be updated to reflect the Availability Zones where your EKS# cluster is deployed.datacenters:
- name: dc1size: 2#3racks:
# - name: us-east-1a# affinityLabels:# topology.kubernetes.io/zone: us-east-1a
- name: cn-northwest-1baffinityLabels:
topology.kubernetes.io/zone: cn-northwest-1b
- name: cn-northwest-1caffinityLabels:
topology.kubernetes.io/zone: cn-northwest-1ckube-prometheus-stack:
enabled: falseglobal:
imagePullSecrets:
- name: harbor-stag-secretprometheusOperator:
# Installs the Prometheus Operator, omitting this parameter will result in# resources not being deployed.enabled: true# -- Locks Prometheus operator to this namespace. Changing this setting may# result in a non-namespace scoped deployment.namespaces:
releaseNamespace: trueadditional: [ ]# -- Monitoring of prometheus operatorserviceMonitor:
selfMonitor: falseadmissionWebhooks:
patch:
image:
repository: registry-stag-hwy.bestsign.tech/search/ingress-nginx-kube-webhook-certgen #k8s.gcr.io/ingress-nginx/kube-webhook-certgen # 目前拉取不到 k8s.gcr.io的镜像tag: v1#v1.0sha: ""prometheus:
prometheusSpec:
storageSpec:
## Using PersistentVolumeClaim##volumeClaimTemplate:
spec:
storageClassName: gp3accessModes: ["ReadWriteOnce"]resources:
requests:
storage: 70Gi# selector: {}grafana:
adminUser: adminadminPassword: admin123stargate:
enabled: truereplicas: 1heapMB: 512cpuReqMillicores: 200cpuLimMillicores: 1000# Backup / Restore#medusa:# enabled: true# storage: s3## # Reference the Terraform output for the correct bucket name to use here.# bucketName: prod-k8ssandra-s3-bucket## # The secret here must align with the value used in the previous section.# storageSecret: prod-k8ssandra-medusa-key## storage_properties:# region: us-east-1
When I want to connect to the cassandra cluster, I am confused that which endpoints should I select, I think stargate service address may be ok. But when I try it, I find that cql session can't acquire rowsmetadata about columns. So I get the exception about cluster_name is not a column in this row. And When I use cassandra node pod service address or pod ip as connect endpoint, it's OK.
To Reproduce
Steps to reproduce the behavior:
(1) client side code
Bug Report
Describe the bug
I install the cassandra cluster by k8ssandra operator. The configuration describe as below:
When I want to connect to the cassandra cluster, I am confused that which endpoints should I select, I think stargate service address may be ok. But when I try it, I find that cql session can't acquire rowsmetadata about columns. So I get the exception about
cluster_name is not a column in this row
. And When I use cassandra node pod service address or pod ip as connect endpoint, it's OK.To Reproduce
Steps to reproduce the behavior:
(1) client side code
Expected behavior
Can stargate service address as the contact points of cassandra?
Screenshots
If applicable, add screenshots to help explain your problem.
Normal screenshots
Fail screenshot
The text was updated successfully, but these errors were encountered: