Sha256: 298eb1974dcdfd060e73505da87263999482d6102d783ec8f0fbec1ca6503567
Contents?: true
Size: 1.67 KB
Versions: 4
Compression:
Stored size: 1.67 KB
Contents
# RancherApi::RancherClusterConfig ## Properties | Name | Type | Description | Notes | | ---- | ---- | ----------- | ----- | | **token** | **String** | Shared secret used to join a server or agent to a cluster. | [optional] | | **tls_san** | **String** | This maps to ranchers `tls-san`. Add additional hostname or IP as a Subject Alternative Name in the TLS cert. | [optional] | | **etcd_snapshot_schedule_cron** | **String** | This maps to ranchers `etcd-snapshot-schedule-cron`. Snapshot interval time in cron spec. eg. every 5 hours ‘0 */5 * * *’. Default: at 12 am/pm | [optional][default to '0 0,12 * * *'] | | **etcd_snapshot_retention** | **Integer** | This maps to ranchers `etcd-snapshot-retention`. Number of snapshots to retain. | [optional][default to 5] | | **node_taint** | **String** | This maps to ranchers `node-taint`. Registering kubelet with set of taints. By default, server nodes will be schedulable and thus your workloads can get launched on them. If you wish to have a dedicated control plane where no user workloads will run, you can use taints. | [optional] | | **cluster_domain** | **String** | This maps to ranchers `cluster-domain`. Cluster Domain. | [optional] | | **certificates** | [**RancherClusterCertificates**](RancherClusterCertificates.md) | | [optional] | ## Example ```ruby require 'pnap_rancher_api' instance = RancherApi::RancherClusterConfig.new( token: gS7SnDnY5st0ryJxMXA7, tls_san: mydomain.com, etcd_snapshot_schedule_cron: 0 0,12 * * *, etcd_snapshot_retention: 5, node_taint: CriticalAddonsOnly=true:NoExecute, cluster_domain: cluster.local, certificates: null ) ```
Version data entries
4 entries across 4 versions & 1 rubygems