Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/centrefordigitalhumanities/vagrant-microk8s-argocd

vagrant config to setup a VM with microk8s and argocd for testing purposes
https://github.com/centrefordigitalhumanities/vagrant-microk8s-argocd

argocd kubernetes microk8s vagrant

Last synced: 10 days ago
JSON representation

vagrant config to setup a VM with microk8s and argocd for testing purposes

Awesome Lists containing this project

README

        

a vagrant config to start a microk8s cluster for local testing purposes.

The following features are available:
* tekton
* argocd
* kubernetes dashboard
* hostpath-storage

# requirements

- virtualbox
- vagrant

# howto

```
vagrant up
```

the vagrant output will display the url and the initial admin password for argocd

## Kubernetes dashboard:

Open the url provided by the vagrant output.

Login with the token provided by the vagrant output.

## argocd

example projects:

### deploy an application on the cli
Login with argocd
```
argocd login https://
```

Create the application
```
argocd app create helm-guestbook --repo https://github.com/argoproj/argocd-example-apps.git --path helm-guestbook --dest-server https://kubernetes.default.svc --dest-namespace default
```

Sync the application
```
argocd app sync helm-guestbook
```

# pvc

Default storage path for pvc
/var/snap/microk8s/common/default-storage

```
kubectl get pod,pvc
kubectl describe pv
```