4f04bdb4bcc1a02a283fc6f4c8146e959feea889
[kuberef.git] / hw_config / ericsson-pod1 / idf.yaml
1 # SPDX-license-identifier: Apache-2.0
2 ##############################################################################
3 # Copyright (c) 2020 Ericsson AB and others
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 ---
10 ### ERICSSON POD 1 installer descriptor file ###
11 idf:
12   version: 0.1
13   net_config: &net_config
14     oob:
15       interface: 0
16       vlan: native
17       network: 10.0.20.0
18       gateway: 10.0.20.1
19       mask: 24
20       dns:
21         - 192.168.1.200
22         - 8.8.8.8
23     public:
24       interface: 1
25       vlan: 80
26       network: 100.64.200.6
27       gateway: 100.64.200.1
28       mask: 24
29       dns:
30         - 192.168.1.200
31         - 8.8.8.8
32   kubespray: &idf_kubespray
33     nodes_roles:
34       node1: [k8s-cluster, kube-node, kube-master, etcd, vault]
35       node2: [k8s-cluster, kube-node]
36     groups:
37       k8s-cluster:
38         - kube-node
39         - kube-master
40     hostnames:
41       node1: master0
42       node2: node0
43     network:
44       # network mapping
45       network_mapping:
46         net_admin: oob
47         # Public network
48         net_public: public
49         # Management network used by installer components to communicate
50         net_mgmt: public
51
52 engine:
53   pod_name: ericsson-pod1
54   net_config: *net_config
55
56   # net_config network to be used by the PXE
57   pxe_network: oob
58
59   # net_config network to be used for the internet access
60   public_network: public
61
62   # interface to be used by the PXE
63   pxe_interface: ens4
64
65   installers:
66     kubespray: *idf_kubespray