Sha256: 836a7d57a00b5c171128533e774f1c2c6a1add8efd70ec72c3b0a9eb9265c7f1
Contents?: true
Size: 1.68 KB
Versions: 5
Compression:
Stored size: 1.68 KB
Contents
# RancherApi::ClusterConfiguration ## 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** | [**RancherClusterConfigCertificates**](RancherClusterConfigCertificates.md) | | [optional] | ## Example ```ruby require 'pnap_rancher_api' instance = RancherApi::ClusterConfiguration.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
5 entries across 5 versions & 1 rubygems