Skip to content

k0s argo stack is pretty simple setup kubernetes by use docker compose

Notifications You must be signed in to change notification settings

zengzhengrong/k0s-stack

Repository files navigation

k0s-stack

k0s argo stack is pretty simple setup kubernetes by use docker compose

Usage

Single Mode

Control-plane and worker in one container

docker-compose up -d

Multiple Mode

Default one control-plane container and two wroker container , Ingress inside control-plane container

docker-compose -f .\docker-compose-cluster.yaml up -d

Clean up

Delete /var/token/k0s.token and clean admin.conf

cat /dev/null>admin.conf

Access by kubectl

export KUBECONFIG=$(PWD)/admin.conf

kubectl get node -w
NAME          STATUS     ROLES           AGE   VERSION
k0s           NotReady   control-plane   60s   v1.23.10+k0s
k0s-worker1   NotReady   worker          60s   v1.23.10+k0s
k0s-worker2   NotReady   worker          60s   v1.23.10+k0s

Argocd

Access UI argocd by default username admin password admin

Argocd Applications

  1. argo-event *
  2. argo-rollouts *
  3. argo-workflows *
  4. openebs (local-path only) *
  5. ingress-nginx *
  6. eck-operator
  7. eck-stack-noauth (require eck-operator)
  8. pulsar
  9. rocketmq
  10. rocketmq-cli (require rocketmq, validate rocketmq work fine)
  11. radondb-mysql-operator
  12. radondb-mysql-sample
  13. canal HA (deafult with rocketmq)
  14. artifactory-jcr (docker-registry)
  15. argod-image-updater
  16. k8tz *
  17. pulsar-cli
  18. mongodb
  19. mongodb-community (require mongodb-community-operator)
  20. kafka
  21. kafdrop (kafka ui)
  22. redis-standalone (require redis-operator)
  23. etcd
  24. mongo-express (mongodb ui)
  25. postgresql
  26. pgadmin4
  27. canal-helm

See more manifest

Flag * is already installed by default

Airgap

See airgap directory

Issues

storage

1.openebs issues in wsl openebs/openebs#3487
2.Only use local path pv

Private Registry

https://github.com/containerd/containerd/blob/main/docs/cri/registry.md

helm install argo-apps error

Log

rendered manifests contain a resource that already exists. Unable to continue with install: AppProject default

Try to delete resource and restart

k0s kc delete AppProject default

About

k0s argo stack is pretty simple setup kubernetes by use docker compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published