Troubleshooting
Frequently asked questions
How can I ensure the fully qualified domain name (FQDN) is resolvable from within the Kubernetes cluster?
Create a pod named
debug-dnsand spawn an interactive shell.kubectl run debug-dns --stdin --tty --rm --image docker.io/rockylinux/rockylinux:9 -- shInstall package
bind-utils.dnf install bind-utilsPerform DNS lookups on a given FQDN.
dig <fqdn>
I'm unsure which Kubernetes namespace or Helm release is associated with my Immuta installation. How can I find this out?
helm list --all-namespaces --output json | jq '.[]|select(.chart | startswith("immuta"))'I no longer have my immuta-values.yaml Helm values file. How do I recover this file?
immuta-values.yaml Helm values file. How do I recover this file?helm get values <release-name> > immuta-values.yamlI don't want to keep passing option --namespace every time I run a Helm command. How do I set a default?
--namespace every time I run a Helm command. How do I set a default?kubectl config set-context --current --namespace=<name>PostgreSQL
How do I determine if the database is accepting connections?
Create a pod named
debug-postgresand spawn an interactive shell.kubectl run debug-postgres --stdin --tty --rm --image docker.io/bitnami/postgresql:latest -- shValidate that the database is listening.
pg_isready --host <postgres-fqdn> --port 5432
Redis
How can a TCP connection be established without using Redis CLI?
Create a pod named
debug-redisand spawn an interactive shell.kubectl run debug-redis --stdin --tty --rm --image docker.io/rockylinux/rockylinux:9 -- shSend a raw TCP message to the database using Netcat.
nc -zv <redis-fqdn> 6379
How do I establish a TCP connection?
Create a pod named
debug-redisand spawn an interactive shell.kubectl run debug-redis --stdin --tty --rm --image docker.io/bitnami/redis:latest -- shEstablish a connection to the database using the Redis client. If a connection can be established with Netcat and the
redis-clicommand does not return, then Redis could be expecting a TLS connection. Pass option--tls.redis-cli -h <redis-fqdn> -p 6379
Elasticsearch
How do I query the API using cURL?
Create a pod named
debug-elasticsearchand spawn an interactive shell.kubectl run debug-elasticsearch --stdin --tty --rm --image docker.io/rockylinux/rockylinux:9 -- shInstall package
curl.dnf install curlCheck the cluster health.
curl --fail --request GET "http://<elasticsearch-fqdn>:9200/_cluster/health?pretty"
Last updated
Was this helpful?

