Skip to content
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

docs: mention docker.io and new kubectl versions #17

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
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ New stable versions will be built and pushed automatically by *GitHub action* [w

| kubectl | amd64 | arm64 | armv7 |
| :---: | :---: | :---: | :---: |
|v1.25.2| :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|v1.24.1| :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|v1.23.1| :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|v1.22.2| :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|v1.21.5| :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|v1.20.11| :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
Expand All @@ -36,7 +39,7 @@ New stable versions will be built and pushed automatically by *GitHub action* [w
|v1.17.17| :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |
|v1.16.15| :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: |

Keep watching our [quay.io](https://quay.io/repository/clastix/kubectl) repository for the latest updates!
Keep watching our [docker.io](https://hub.docker.com/r/clastix/kubectl) and [quay.io](https://quay.io/repository/clastix/kubectl) repositories for the latest updates!

---

Expand Down Expand Up @@ -64,10 +67,10 @@ Client: Docker Engine - Community

### Take our image

Just pull the desired version from [quay.io](https://quay.io/repository/clastix/kubectl) :
Just pull the desired version from [docker.io](https://hub.docker.com/r/clastix/kubectl) or [quay.io](https://quay.io/repository/clastix/kubectl) :

```bash
$ docker pull quay.io/clastix/kubectl:<desired_version>
$ docker pull clastix/kubectl:<desired_version>
```

OR
Expand Down Expand Up @@ -95,16 +98,15 @@ otherwise, Makefile will automatically retrieve its default values.
### Launch a container

```bash
$ docker run --name kubectl quay.io/clastix/kubectl:v1.22.2 version
$ docker run --name kubectl clastix/kubectl:v1.22.2 version --client

Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.2", GitCommit:"8b5a19147530eaac9476b0ab82980b4088bbc1b2", GitTreeState:"clean", BuildDate:"2021-09-15T21:38:50Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.5", GitCommit:"aea7bbadd2fc0cd689de94a54e5b7b758869d691", GitTreeState:"clean", BuildDate:"2021-09-15T21:04:16Z", GoVersion:"go1.16.8", Compiler:"gc", Platform:"linux/amd64"}
```

you can also use your own _kubeconfig_

```bash
$ docker run --name kubectl -v ~/.kube/config:/home/nonroot/.kube/config quay.io/clastix/kubectl:<desired_version> get nodes
$ docker run --name kubectl -v ~/.kube/config:/home/nonroot/.kube/config clastix/kubectl:<desired_version> get nodes

NAME STATUS ROLES AGE VERSION
controlplane-00 Ready control-plane,master 13d v1.21.5
Expand All @@ -127,7 +129,7 @@ To clean up, just :
3. Remove your kubectl image :

```bash
$ docker rmi -f quay.io/clastix/kubectl:<desired_version>
$ docker rmi -f clastix/kubectl:<desired_version>
```

## FAQ
Expand Down