Module for ansible to setup kubernetes objects
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
kube_setup.py

README.md

ansible-kubernetes-module

Module for ansible to setup kubernetes objects

Instalation

Alternatively you can put it in library directory with your playbook

|- playbook.yml
|- library
   |- kube_setup.py

Usage

- name: create k8s objects from file
  kube_setup:
    file: "object.yml"
    state: "present" # default = "present" [present|absent]
    strategy: "default" # default = default, means - use the most suitable [create_or_replace|create_or_apply|create_or_nothing]
    kubectl_opts: "--context=live" # default = ""