Giter Club home page Giter Club logo

kubernetes-formula's Introduction

kubernetes-formula

Extensible formula to install kubernetes on MacOS, Windows, and GNU/Linux. Support for:

The default kubernetes.sigs state includes the following:

The default kubernetes.devtools state includes the following:

The default kubernetes.operator state includes:

The default kubernetes.operators state [all OS] includes (from https://operatorhub.io):

The default kubernetes.devlibs state includes [all OS]:

The default kubernetes.crimgr state includes (linux):

Travis CI Build Status Semantic Release

A SaltStack formula for kubernetes on MacOS, GNU/Linux and Windows.

See the full SaltStack Formulas installation and usage instructions. If you are interested in writing or contributing to formulas, please pay attention to the Writing Formula Section. If you want to use this formula, please pay attention to the FORMULA file and/or git tag, which contains the currently released version. This formula is versioned according to Semantic Versioning. See Formula Versioning Section for more details.

Commit message formatting is significant!!

Please see How to contribute for more details.

Meta-state (This is a state that includes other states).

This state installs the kubernetes solution (see https://kubernetes.io)

Meta-state (This is a state that includes other states).

This state removes the kubernetes solution.

This state installs kubernetes package repository only (see https://kubernetes.io/docs/tasks/tools/install-kubectl/#install-using-native-package-management)

This state removes kubernetes package repository only.

This state installs kubernetes cli and libraries only (see https://kubernetes.io/docs/reference/kubectl, (https://kubernetes.io/docs/setup/release/notes/#client-binaries, and https://kubernetes.io/docs/reference/using-api/client-libraries)

This state uninstalls kubernetes cli and libraries only.

This state installs kubernetes server GNU/Linux only (see https://kubernetes.io and https://kubernetes.io/docs/setup/release/notes/#server-binaries)

This state uninstalls kubernetes server GNU/Linux only.

This state installs kubernetes node on Windows/MacOS/Linux only (see https://kubernetes.io/docs/concepts/architecture/nodes)

This state uninstalls kubernetes node on Windows/MacOS/Linux only.

This state installs kubernetes sig archives only

This state uninstalls kubernetes sig archives only

This state installs operator archives only (Linux/MacOS)

This state uninstalls operator archives only (Linux/MacOS)

This state installs operator archives only

This state uninstalls operator archives only

This state installs selected kubernetes developer tools only

This state uninstalls selected kubernetes developer tools only

This state installs selected kubernetes developer libraries

This state uninstalls selected kubernetes developer libraries (i.e. kubernetes client libraries, kopf, etc).

This state installs kubernetes cri-resource-manager

This state uninstalls kubernetes cri-resource-manager

This list may be incomplete.

This state installs server packages from repo.

This state uninstalls server packages only

This state installs server archive only

This state uninstalls server archive only

This state installs node packages from repo.

This state uninstalls node packages only

This state installs node archive only

This state uninstalls node archive only

This state installs kubectl package only from repo.

This state installs kubernetes developer aliases to /etc/defaults.

This state uninstalls kubectl package only

This state installs kubectl archive only

This state uninstalls kubectl archive only

This state installs kubectl binary only

This state uninstalls kubectl binary only

This state installs k3s binary only

This state uninstalls k3s binary only

This state installs k3s script only

This state uninstalls k3s script only

Linux testing is done with kitchen-salt.

Requirements

  • Ruby
  • Docker
$ gem install bundler
$ bundle install
$ bin/kitchen test [platform]

Where [platform] is the platform name defined in kitchen.yml, e.g. debian-9-2019-2-py3.

bin/kitchen converge

Creates the docker instance and runs the kubernetes main state, ready for testing.

bin/kitchen verify

Runs the inspec tests on the actual instance.

bin/kitchen destroy

Removes the docker instance.

bin/kitchen test

Runs all of the stages above in one go: i.e. destroy + converge + verify + destroy.

bin/kitchen login

Gives you SSH access to the instance for manual testing.

kubernetes-formula's People

Contributors

noelmcloughlin avatar myii avatar semantic-release-bot avatar badgerops avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.