Skip to content

I've added changes related with check of configurations are setup correctly #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions config-kubectl.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
1. Store ca.crt data as a file, e.g. at your home directory. Remember its path, e.g. `~/k8scomm.ca.crt`.

2. Prepare the env variables and setup the configuration:
```
```bash
USER=your-github-user
TOKEN=your-token
CA_PATH=path-from-the-previous-step
```

3. Run the following commands to configure `kubectl` tool:
```
```bash
kubectl config set-cluster ws-${USER} \
--embed-certs=true \
--server=https://35.187.39.10 \
Expand All @@ -25,8 +25,8 @@ kubectl config use-context ws-${USER}

4. Check how it works:

```
```bash
kubectl get pods
```

As we haven't released anything yet, you will not see pods. But you shouldn't see any error either.
As we haven't released anything yet, you will not see pods. The expected result is: `No resources found.` this means your configuration doesn't have errors.