karmab.kcli.kcli_cluster (1.0.1) — module

Handles K8s clusters using kcli

| "added in version" 0.2 of karmab.kcli"

Authors: Karim Boumedhel, @karmab

Install collection

Install with ansible-galaxy collection install karmab.kcli:==1.0.1


Add to requirements.yml

  collections:
    - name: karmab.kcli
      version: 1.0.1

Description

Longer description of the module

You might include instructions


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create a k8s cluster
  kcli_cluster:
    name: myclu
    type: kubeadm
    parameyters:
     ctlplanes: 3
     workers: 2
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete that cluster
  kcli_cluster:
    name: myclu
    state: absent