Altinity / clickhouse-operator

Altinity Kubernetes Operator for ClickHouse creates, configures and manages ClickHouse® clusters running on Kubernetes
https://altinity.com
Apache License 2.0
1.93k stars 462 forks source link

Add support for OpenShift/OKD 4.x #464

Open rtsisyk opened 4 years ago

rtsisyk commented 4 years ago
oc logs -f pod/chi-dev-dev-0-0-0
Necessary directory '/var/lib/clickhouse/' isn't owned by user with id '1000740000'

This problem is caused by boilerplate code inside Docker image itself, but let's keep this ticket here to track the entire progress on adding support for OpenShift.

https://github.com/ClickHouse/ClickHouse/blob/master/docker/server/entrypoint.sh#L58-L64

davidkarlsen commented 3 years ago

Also, it does not appear in the console of openshift, when searching the operatorhub. Has it been discontinued?

kubectl get packagemanifests  -n openshift-marketplace |grep -i click

kubectl get catsrc --all-namespaces
NAMESPACE               NAME                  DISPLAY               TYPE   PUBLISHER   AGE
openshift-marketplace   certified-operators   Certified Operators   grpc   Red Hat     192d
openshift-marketplace   community-operators   Community Operators   grpc   Red Hat     192d
openshift-marketplace   redhat-marketplace    Red Hat Marketplace   grpc   Red Hat     192d
openshift-marketplace   redhat-operators      Red Hat Operators     grpc   Red Hat     192d
alex-zaitsev commented 3 years ago

Hi @davidkarlsen , no it is not discontinued, we update it regularly: https://operatorhub.io/operator/clickhouse

Something else is required in order it or be listed on openshift-marketplace. Will look into that.

davidkarlsen commented 3 years ago

@alex-zaitsev that sounds good. Look at the catalogsources I listed - should it be available from them - which included community-operators - or could it be because the operator does not match cluster requirements (k8s version etc)

davidkarlsen commented 3 years ago

@alex-zaitsev was the OCP support fixed?