...
The user interface is not distributed by default. Installation is very simple, just run the following command (check here the version)
Code Block | ||||
---|---|---|---|---|
| ||||
$ kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.25.0/aio/deploy/recommended.yaml |
...
If you have done this correctly, the config
file will look like this below (look at the token
field at the end of the file). To look at the new configuration, launch the command kubectl config view
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
apiVersion: v1 clusters: - cluster: certificate-authority-data: DATA+OMITTED server: https://<IP>:<port> name: <cluster_name> contexts: - context: cluster: <cluster_name> user: <user_name> name: <name> current-context: <current-context> kind: Config preferences: {} users: - name: <user_name> user: client-certificate-data: REDACTED client-key-data: REDACTED token: REDACTED<token> |