K8s config

k8s_config

This is a simple module that supports getting the config of K8s clusters This module has a dependency on ionoscloud >= 6.0.2

Example Syntax


name: Get k8s config
ionoscloudsdk.ionoscloud.k8s_config:
  k8s_cluster: ''
  config_file: config.yaml
  state: present

Returned object

{
    "failed": false,
    "changed": true,
    "config": "<CONFIG_FILE_CONTENT>"
}

For more examples please check out the tests here.

state: present

  
name: Get k8s config
ionoscloudsdk.ionoscloud.k8s_config:
  k8s_cluster: ''
  config_file: config.yaml
  state: present

Available parameters for state present:

Last updated