Consuming Private Cloud Hostnames
Use the following steps if you want to consume a private cloud hostname that is accessible to your cluster.
- For each hostname create a Kubernetes secret in the codezero namespace. The secret name must match the hostname of the external resource.
apiVersion: v1
kind: Secret
metadata:
name: b-1.democluster2.euesoh.c6.kafka.us-east-2.amazonaws.com
namespace: codezero
annotations:
codezero.io/credentials-infusion-type: none
codezero.io/credentials-infusion-port: "9096"
type: Opaque
- Consume
b-1.democluster2.euesoh.c6.kafka.us-east-2.amazonaws.com
service via the Codezero desktop app orczctl
echo "b-1.democluster2.euesoh.c6.kafka.us-east-2.amazonaws.com" | czctl consume apply