Skip to content
Snippets Groups Projects
Verified Commit f7b579c1 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

move some stuff around to let it make more sense

parent fffe9e1f
No related branches found
No related tags found
No related merge requests found
...@@ -348,31 +348,3 @@ Besides these applications, some other auxiliary components are installed: ...@@ -348,31 +348,3 @@ Besides these applications, some other auxiliary components are installed:
traffic to all applications running in the cluster; traffic to all applications running in the cluster;
* [Flux](https://fluxcd.io) checks for application updates approved by the * [Flux](https://fluxcd.io) checks for application updates approved by the
OpenAppStack team and installs them automatically. OpenAppStack team and installs them automatically.
## Managing an existing cluster
You can use `kubectl`, the Kubernetes control program, to find and manipulate
your Kubernetes cluster. Once you have installed `kubectl`, to get access to your
cluster with the OAS CLI:
$ python -m openappstack my-cluster info
Look for these lines:
To use kubectl with this cluster, copy-paste this in your terminal:
export KUBECONFIG=/home/you/projects/openappstack/clusters/my-cluster/secrets/kube_config_cluster.yml
Copy the whole `export` line into your terminal. In *the same terminal window*,
kubectl will connect to your cluster.
### SSH access
Alternatively, you can SSH login to your VPS. Some programs that are
available to the root user on the VPS:
* `kubectl`, the Kubernetes control program. The root user is connected to the
cluster automatically.
* `helm` is the "Kubernetes package manager". Use `helm ls` to see what apps are
installed in your cluster. You can also use it to perform manual upgrades;
see `helm --help`.
...@@ -150,14 +150,16 @@ applications. ...@@ -150,14 +150,16 @@ applications.
behave -D nextcloud.url=https://files.ci-20410.ci.openappstack.net \ behave -D nextcloud.url=https://files.ci-20410.ci.openappstack.net \
-D nextcloud.admin.password=… -D nextcloud.admin.password=…
## SSH access
## Upgrading You can SSH login to your VPS. Some programs that are available to the root user
on the VPS:
If you encounter problems when you upgrade your cluster, please make sure first
to include all potential new values of `ansible/group_vars/all/settings.yml.example`
to your `clusters/YOUR_CLUSTERNAME/group_vars/all/settings.yml`, and rerun the installation
script.
* `kubectl`, the Kubernetes control program. The root user is connected to the
cluster automatically.
* `helm` is the "Kubernetes package manager". Use `helm ls` to see what apps are
installed in your cluster. You can also use it to perform manual upgrades;
see `helm --help`.
## HTTPS Certificates ## HTTPS Certificates
...@@ -189,6 +191,22 @@ Show the logs of the main `cert-manager` pod: ...@@ -189,6 +191,22 @@ Show the logs of the main `cert-manager` pod:
You can `grep` for your cluster domain or for any specific subdomain to narrow You can `grep` for your cluster domain or for any specific subdomain to narrow
down results. down results.
## Using kubectl to debug your cluster
You can use `kubectl`, the Kubernetes control program, to find and manipulate
your Kubernetes cluster. Once you have installed `kubectl`, to get access to your
cluster with the OAS CLI:
$ python -m openappstack my-cluster info
Look for these lines:
To use kubectl with this cluster, copy-paste this in your terminal:
export KUBECONFIG=/home/you/projects/openappstack/clusters/my-cluster/secrets/kube_config_cluster.yml
Copy the whole `export` line into your terminal. In *the same terminal window*,
kubectl will connect to your cluster.
## Purge OAS and install from scratch ## Purge OAS and install from scratch
......
...@@ -26,4 +26,10 @@ intervention. ...@@ -26,4 +26,10 @@ intervention.
for these applications. Find all the pvcs by running `kubectl get pvc for these applications. Find all the pvcs by running `kubectl get pvc
--namespace oas-apps` and `kubectl get pvc --namespace oas` --namespace oas-apps` and `kubectl get pvc --namespace oas`
## Troubleshooting
If you encounter problems when you upgrade your cluster, please make sure first
to include all potential new values of
`ansible/group_vars/all/settings.yml.example` to your
`clusters/YOUR_CLUSTERNAME/group_vars/all/settings.yml`, and rerun the
installation script.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment