Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
# An example of an HA Kubernetes cluster for ONAP
nodes:
- address: 10.31.3.2
  port: "22"
  role:
  - controlplane
  - etcd
  hostname_override: "onap-control-1"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsa"
- address: 10.31.3.3
  port: "22"
  role:
  - controlplane
  - etcd
  hostname_override: "onap-control-2"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsa"
- address: 10.31.3.16
  port: "22"
  role:
  - controlplane
  - etcd
  hostname_override: "onap-control-3"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsa"
- address: 10.31.3.39
  port: "22"
  role:
  - worker
  hostname_override: "onap-k8s-1"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsa"
- address: 10.31.3.244.11
  port: "22"
  role:
  - controlplane
  - workeretcd
  hostname_override: "onap-k8scontrol-21"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsaecdsa"
- address: 10.31.34.5212
  port: "22"
  role:
  - workercontrolplane
  - etcd
  hostname_override: "onap-k8scontrol-32"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsaecdsa"
- address: 10.31.34.813
  port: "22"
  role:
  - workercontrolplane
  - etcd
  hostname_override: "onap-k8scontrol-43"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsaecdsa"
- address: 10.31.34.3421
  port: "22"
  role:
  - worker
  hostname_override: "onap-k8s-51"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsaecdsa"
- address: 10.31.34.4722
  port: "22"
  role:
  - worker
  hostname_override: "onap-k8s-62"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsaecdsa"
- address: 10.31.34.1523
  port: "22"
  role:
  - worker
  hostname_override: "onap-k8s-73"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsaecdsa"
- address: 10.31.34.924
  port: "22"
  role:
  - worker
  hostname_override: "onap-k8s-84"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsaecdsa"
- address: 10.31.34.525
  port: "22"
  role:
  - worker
  hostname_override: "onap-k8s-95"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsaecdsa"
- address: 10.31.34.2126
  port: "22"
  role:
  - worker
  hostname_override: "onap-k8s-106"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsaecdsa"
- address: 10.31.34.127
  port: "22"
  role:
  - worker
  hostname_override: "onap-k8s-117"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_rsaecdsa"
- address: 10.31.34.6828
  port: "22"
  role:
  - worker
  hostname_override: "onap-k8s-128"
  user: ubuntu
  ssh_key_path: "~/.ssh/id_ecdsa"
services:
  kube-api:
    service_cluster_ip_range: 10.43.0.0/16
    pod_security_policy: false
    always_pull_images: false
  kube-controller:
    cluster_cidr: 10.42.0.0/16
    service_cluster_ip_range: 10.43.0.0/16
  kubelet:
    cluster_domain: cluster.local
    cluster_dns_server: 10.43.0.10
    fail_swap_on: false
network:
  plugin: canal
authentication:
  strategy: x509
ssh_key_path: "~/.ssh/id_rsaecdsa"
ssh_agent_auth: false
authorization:
  mode: rbac
ignore_docker_version: false
kubernetes_version: "v1.1315.511-rancher1-2"
private_registries:
- url: nexus3.onap.org:10001
  user: docker
  password: docker
  is_default: true
cluster_name: "onap"
restore:
  restore: false
  snapshot_name: ""

...