Skip to content

linkyard/docker-kubectl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker

Docker image with kubectl and some useful tooling

Based on alpine.

Included are:

  • kubectl
  • jq
  • curl
  • bash

Init Script

For cases where it does not directly run inside a kubernetes cluster an init script is provided at /opt/initK8s.sh.

It needs the following parameters:

  • KUBERNETES_URL: URL to the kubernetes cluster
  • KUBERNETES_CA: Base64 encoded CA certifcate for the connection to the cluster
  • KUBERNETES_TOKEN: Token to authenticate with the cluster

Usage

It's double published (github and private gcr repo).

docker run ghcr.io/linkyard/kubectl or docker run eu.gcr.io/linkyard-191615/linkyard-cloud/kubectl