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

engine:
  pod_name: ericsson-pod1
  net_config: *net_config

  # net_config network to be used by the PXE
  pxe_network: oob

  # net_config network to be used for the internet access
  public_network: public

  # interface to be used by the PXE
  pxe_interface: ens4

  installers:
    kubespray: *idf_kubespray