Mike Elliott | f137b2c | 2019-04-30 16:28:07 -0400 | [diff] [blame] | 1 | # An example of an HA Kubernetes cluster for ONAP |
| 2 | nodes: |
| 3 | - address: 10.12.6.85 |
| 4 | port: "22" |
| 5 | internal_address: 10.0.0.8 |
| 6 | role: |
| 7 | - controlplane |
| 8 | - etcd |
| 9 | hostname_override: "onap-control-1" |
| 10 | user: ubuntu |
| 11 | ssh_key_path: "~/.ssh/onap-key" |
| 12 | - address: 10.12.6.90 |
| 13 | port: "22" |
| 14 | internal_address: 10.0.0.11 |
| 15 | role: |
| 16 | - controlplane |
| 17 | - etcd |
| 18 | hostname_override: "onap-control-2" |
| 19 | user: ubuntu |
| 20 | ssh_key_path: "~/.ssh/onap-key" |
| 21 | - address: 10.12.6.89 |
| 22 | port: "22" |
| 23 | internal_address: 10.0.0.12 |
| 24 | role: |
| 25 | - controlplane |
| 26 | - etcd |
| 27 | hostname_override: "onap-control-3" |
| 28 | user: ubuntu |
| 29 | ssh_key_path: "~/.ssh/onap-key" |
| 30 | - address: 10.12.5.165 |
| 31 | port: "22" |
| 32 | internal_address: 10.0.0.14 |
| 33 | role: |
| 34 | - worker |
| 35 | hostname_override: "onap-k8s-1" |
| 36 | user: ubuntu |
| 37 | ssh_key_path: "~/.ssh/onap-key" |
| 38 | - address: 10.12.6.238 |
| 39 | port: "22" |
| 40 | internal_address: 10.0.0.26 |
| 41 | role: |
| 42 | - worker |
| 43 | hostname_override: "onap-k8s-2" |
| 44 | user: ubuntu |
| 45 | ssh_key_path: "~/.ssh/onap-key" |
| 46 | - address: 10.12.6.126 |
| 47 | port: "22" |
| 48 | internal_address: 10.0.0.5 |
| 49 | role: |
| 50 | - worker |
| 51 | hostname_override: "onap-k8s-3" |
| 52 | user: ubuntu |
| 53 | ssh_key_path: "~/.ssh/onap-key" |
| 54 | - address: 10.12.5.11 |
| 55 | port: "22" |
| 56 | internal_address: 10.0.0.6 |
| 57 | role: |
| 58 | - worker |
| 59 | hostname_override: "onap-k8s-4" |
| 60 | user: ubuntu |
| 61 | ssh_key_path: "~/.ssh/onap-key" |
| 62 | - address: 10.12.6.244 |
| 63 | port: "22" |
| 64 | internal_address: 10.0.0.9 |
| 65 | role: |
| 66 | - worker |
| 67 | hostname_override: "onap-k8s-5" |
| 68 | user: ubuntu |
| 69 | ssh_key_path: "~/.ssh/onap-key" |
| 70 | - address: 10.12.6.249 |
| 71 | port: "22" |
| 72 | internal_address: 10.0.0.17 |
| 73 | role: |
| 74 | - worker |
| 75 | hostname_override: "onap-k8s-6" |
| 76 | user: ubuntu |
| 77 | ssh_key_path: "~/.ssh/onap-key" |
| 78 | - address: 10.12.5.191 |
| 79 | port: "22" |
| 80 | internal_address: 10.0.0.20 |
| 81 | role: |
| 82 | - worker |
| 83 | hostname_override: "onap-k8s-7" |
| 84 | user: ubuntu |
| 85 | ssh_key_path: "~/.ssh/onap-key" |
| 86 | - address: 10.12.6.111 |
| 87 | port: "22" |
| 88 | internal_address: 10.0.0.10 |
| 89 | role: |
| 90 | - worker |
| 91 | hostname_override: "onap-k8s-8" |
| 92 | user: ubuntu |
| 93 | ssh_key_path: "~/.ssh/onap-key" |
| 94 | - address: 10.12.6.195 |
| 95 | port: "22" |
| 96 | internal_address: 10.0.0.4 |
| 97 | role: |
| 98 | - worker |
| 99 | hostname_override: "onap-k8s-9" |
| 100 | user: ubuntu |
| 101 | ssh_key_path: "~/.ssh/onap-key" |
| 102 | - address: 10.12.5.160 |
| 103 | port: "22" |
| 104 | internal_address: 10.0.0.16 |
| 105 | role: |
| 106 | - worker |
| 107 | hostname_override: "onap-k8s-10" |
| 108 | user: ubuntu |
| 109 | ssh_key_path: "~/.ssh/onap-key" |
| 110 | - address: 10.12.6.74 |
| 111 | port: "22" |
| 112 | internal_address: 10.0.0.18 |
| 113 | role: |
| 114 | - worker |
| 115 | hostname_override: "onap-k8s-11" |
| 116 | user: ubuntu |
| 117 | ssh_key_path: "~/.ssh/onap-key" |
| 118 | - address: 10.12.6.82 |
| 119 | port: "22" |
| 120 | internal_address: 10.0.0.7 |
| 121 | role: |
| 122 | - worker |
| 123 | hostname_override: "onap-k8s-12" |
| 124 | user: ubuntu |
| 125 | ssh_key_path: "~/.ssh/onap-key" |
| 126 | services: |
| 127 | kube-api: |
| 128 | service_cluster_ip_range: 10.43.0.0/16 |
| 129 | pod_security_policy: false |
| 130 | always_pull_images: false |
| 131 | kube-controller: |
| 132 | cluster_cidr: 10.42.0.0/16 |
| 133 | service_cluster_ip_range: 10.43.0.0/16 |
| 134 | kubelet: |
| 135 | cluster_domain: cluster.local |
| 136 | cluster_dns_server: 10.43.0.10 |
| 137 | fail_swap_on: false |
| 138 | network: |
| 139 | plugin: canal |
| 140 | authentication: |
| 141 | strategy: x509 |
| 142 | ssh_key_path: "~/.ssh/onap-key" |
| 143 | ssh_agent_auth: false |
| 144 | authorization: |
| 145 | mode: rbac |
| 146 | ignore_docker_version: false |
| 147 | kubernetes_version: "v1.13.5-rancher1-2" |
| 148 | private_registries: |
| 149 | - url: nexus3.onap.org:10001 |
| 150 | user: docker |
| 151 | password: docker |
| 152 | is_default: true |
| 153 | cluster_name: "onap" |
| 154 | restore: |
| 155 | restore: false |
| 156 | snapshot_name: "" |