MySQL
https://artifacthub.io/packages/helm/bitnami/mysql
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update
helm pull bitnami/mysql --version 9.9.1
dockemon chart bitnami mysql 9.9.1 helm install mysql ./mysql --namespace mysql --create-namespace helm status mysql -n mysql
mysql.mysql.svc.cluster.local:3306
MYSQL_ROOT_PASSWORD=$(kubectl get secret --namespace mysql mysql -o jsonpath="{.data.mysql-root-password}" | base64 -d) echo $MYSQL_ROOT_PASSWORD
kubectl run mysql-client --rm --tty -i --restart='Never' --image docker.io/bitnami/mysql:8.0.33-debian-11-r7 --namespace mysql --env MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD --command -- bash mysql -h mysql.mysql.svc.cluster.local -uroot -p"$MYSQL_ROOT_PASSWORD"
kubectl port-forward --namespace mysql svc/mysql 3306:3306
|
Redis
https://artifacthub.io/packages/helm/bitnami/redis
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update
helm search repo bitnami/redis --versions --devel
helm pull bitnami/redis --version 17.10.3
dockemon chart bitnami redis 17.10.3 helm install redis ./redis --namespace redis --create-namespace helm status redis -n redis
redis-master.redis.svc.cluster.local for read/write operations (port 6379) redis-replicas.redis.svc.cluster.local for read-only operations (port 6379)
export REDIS_PASSWORD=$(kubectl get secret --namespace redis redis -o jsonpath="{.data.redis-password}" | base64 -d) echo $REDIS_PASSWORD
kubectl run --namespace redis redis-client --restart='Never' --env REDIS_PASSWORD=$REDIS_PASSWORD --image docker.io/bitnami/redis:7.0.11-debian-11-r7 --command -- sleep infinity kubectl exec --tty -i redis-client --namespace redis -- bash REDISCLI_AUTH="$REDIS_PASSWORD" redis-cli -h redis-master
kubectl port-forward --namespace redis svc/redis-master 6379:6379 REDISCLI_AUTH="$REDIS_PASSWORD" redis-cli -h 127.0.0.1 -p 6379
|
Zookeeper
https://artifacthub.io/packages/helm/bitnami/zookeeper
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update
helm search repo bitnami/zookeeper --versions --devel
helm pull bitnami/zookeeper --version 11.3.2
dockemon chart bitnami zookeeper 11.3.2 helm install zookeeper ./zookeeper --namespace zookeeper --create-namespace helm status zookeeper -n zookeeper
zookeeper.zookeeper.svc.cluster.local
export POD_NAME=$(kubectl get pods --namespace zookeeper -l "app.kubernetes.io/name=zookeeper,app.kubernetes.io/instance=zookeeper,app.kubernetes.io/component=zookeeper" -o jsonpath="{.items[0].metadata.name}") echo $POD_NAME kubectl exec -it --namespace zookeeper $POD_NAME -- zkCli.sh
kubectl port-forward --namespace zookeeper svc/zookeeper 2181:2181 zkCli.sh 127.0.0.1:2181
|
Minio
https://helm.min.io/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| helm repo add minio https://helm.min.io/ helm update
helm search repo minio/minio --versions --devel
helm pull minio/minio --version 8.0.10
dockemon chart minio minio 8.0.10 helm install minio ./minio --namespace minio --create-namespace helm status minio -n minio
export POD_NAME=$(kubectl get pods --namespace minio -l "release=minio" -o jsonpath="{.items[0].metadata.name}") echo $POD_NAME kubectl port-forward $POD_NAME 9000 --namespace minio
ACCESS_KEY=$(kubectl get secret minio --namespace minio -o jsonpath="{.data.accesskey}" | base64 --decode) SECRET_KEY=$(kubectl get secret minio --namespace minio -o jsonpath="{.data.secretkey}" | base64 --decode) echo $ACCESS_KEY $SECRET_KEY
|
Nginx
https://artifacthub.io/packages/helm/bitnami/nginx
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update
helm search repo bitnami/nginx --versions --devel
helm pull bitnami/nginx --version 14.2.1
dockemon chart bitnami nginx 14.2.1 helm install nginx ./nginx --namespace nginx --create-namespace helm status nginx -n nginx
export SERVICE_PORT=$(kubectl get --namespace nginx -o jsonpath="{.spec.ports[0].port}" services nginx) export SERVICE_IP=$(kubectl get svc --namespace nginx nginx -o jsonpath='{.status.loadBalancer.ingress[0].ip}') echo "http://${SERVICE_IP}:${SERVICE_PORT}"
|
Neo4j
https://github.com/neo4j-contrib/neo4j-helm
https://artifacthub.io/packages/helm/neo4j-helm-charts/neo4j
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| dockemon edit neo4j:4.4.10-enterprise gcr.io/neo4j-helm/restore:4.1.0-1
dockemon image
https://github.com/neo4j-contrib/neo4j-helm/releases tar -zxvf neo4j-4.4.10.1.tgz & cd neo4j
helm install neo4j ./neo4j --set core.standalone=true --set acceptLicenseAgreement=yes --set neo4jPassword=abcd1234 --namespace neo4j --create-namespace
|