HUB
Sign inSign up
kops.aws logo

sigursoft/kops.aws

By sigursoft

•Updated 9 months ago

kops + kubectl + aws cli

Image
10

3.8K

sigursoft/kops.aws repository overview

⁠docker-kops

Docker Hub Docker Pulls Docker Stars

Docker⁠ image for running kops⁠, kubectl⁠ and the Amazon Web Services Command Line Interface⁠.

Based on Debian 11 Buster stable image the versions currently included are kops 1.25.3, kubectl 1.25.5, aws-cli 1.27.34 on Python 3.9.2.

⁠Background

The kops tool is a command line interface that helps you create, destroy, upgrade and maintain production-grade, highly available, Kubernetes clusters. The kubectl is a command line client to deploy and manage applications on Kubernetes. The aws command line tool is a command line interface for Amazon Web Services⁠.

The docker-kops creates a Docker⁠ image containing all dependencies needed to run kops, kubectl and aws. That way, you can create and manage Kubernetes clusters on aws in a Docker⁠ container without setting dependencies on the host system.

⁠Usage

docker run -it \
  -e KOPS_STATE_STORE \
  -v "$HOME"/.ssh:/home/kops/.ssh:rw \
  -v "$HOME"/.aws:/home/kops/.aws:ro \
  -v "$HOME"/.kube:/home/kops/.kube:rw \
  -v /your/workdir:/home/kops/work \
  sigursoft/kops.aws

⁠Build from Source

  1. Make sure Docker⁠ is installed.

  2. Clone docker-kops from GitHub⁠

    git clone https://github.com/sigursoft/docker-kops.git
    
  3. Build the docker image

    cd docker-kops
    docker build -t="mykops" .
    
  4. Run a docker container with that image

    docker run -t -i mykops
    

⁠Getting started with kops, kubectl and AWS CLI

The most recent kops documentation is located on official kops GitHub page⁠.

Kubectl documentation can be found on Kubernetes.io documentation⁠.

For documentation on the AWS CLI, see the AWS command line interface documentation⁠ and the aws-cli GitHub page⁠.

Tag summary

Content type

Image

Digest

sha256:900c0361a…

Size

328.7 MB

Last updated

9 months ago

docker pull sigursoft/kops.aws