This repository allows PS to configure/build/deploy and deliver environment-specific CFK clusters for customers on GKE/EKS/AKS K8-clusters. Use this repository as a reference for a kustomized-approach to a secure RBAC-enabled CFK environment that customers can depend on. One should use this repository using kustomize
to build specific external dependencies, environment scoped CFK infra / resources (CRDs).
BEFORE YOU BEGIN:
- operator_base expects file
license-secret.yml
to exist - Paste your license into license-secret_changeme_and_rename_to_license-secret.yml
- Rename the file to become
license-secret.yml
export TARGET="ps-cfk-infra/bases/01_operator/"
mv $TARGET/license-secret_changeme_and_rename_to_license-secret.yml $TARGET/license-secret.yml
NOTE: If you don't have a license, comment out
license.secretRef
line within operator config values.yml. Additionally, one can either comment out kustomization resourcelicense-secret.yml
in operator kustomization definition or follow the #3 step above.
- Ensure you have
gcloud
installed and authenticated (gcloud auth login
) - modify
terraform.tfvars
. Required changes:cluster_name
owner_label
NOTE:
terraform init
will not work if you have not authenticated withgcloud
cli or if your accound does not have the required APIs enabled to deploy GKE.
NOTE: Pasting the output of output_hosts.sh into
/etc/hosts
enables communication with cfk-components / observability-related resources from your local machine. To verify connectivity,ping
each endpoint. Additionally, in web browser, navigate tohttp://grafana.confluentps.io
orhttp://prometheus.confluentps.io
. Credentials to access grafana :pscfk
/pscfk-secret
. Dashboards are created automatically.
NOTE: At this point, you can head over to browser and navigate to
https://c3.<env>.<site>.confluentps.io
. If you've been following 1-3 above, the endpoint ishttps://c3.dev.gke.confluentps.io
(admin1
/admin1-secret
)
NOTE: avro and protobuf can be modified to include/exclude connectors that get deployed. Connectors deployed determined by values listed under
resources