| |
| classes: |
| - system.linux.system.single |
| - system.openssh.server.team.lab |
| - system.openssh.server.team.tcpcloud |
| - system.openssh.server.team.mcp_qa |
| - cluster.virtual-mcp11-k8s-calico.kubernetes |
| - cluster.overwrite |
| parameters: |
| _param: |
| # infra service addresses |
| infra_config_hostname: cfg01 |
| infra_config_address: 172.16.10.100 |
| infra_config_deploy_address: 192.168.10.100 |
| |
| cluster_domain: virtual-mcp11-k8s-calico.local |
| cluster_name: virtual-mcp11-k8s-calico |
| #cluster_public_host: "" |
| linux: |
| network: |
| host: |
| cfg01: |
| address: ${_param:infra_config_address} |
| names: |
| - ${_param:infra_config_hostname} |
| - ${_param:infra_config_hostname}.${_param:cluster_domain} |
| cfg: |
| address: ${_param:infra_config_address} |
| names: |
| - cfg |
| - cfg.${_param:cluster_domain} |
| interface: |
| ens4: |
| enabled: true |
| type: eth |
| proto: static |
| address: ${_param:single_address} |
| netmask: 255.255.255.0 |
| route: |
| kubernetes_services: |
| address: 10.254.0.0 |
| netmask: 255.255.0.0 |
| gateway: ${_param:single_address} |
| system: |
| name: ${_param:infra_config_hostname} |
| domain: ${_param:cluster_domain} |
| rc: |
| local: | |
| #!/bin/sh -e |
| # |
| # rc.local |
| # |
| ######### This file is managed by Salt! ########## |
| # This script is executed at the end of each multiuser runlevel. |
| # Make sure that the script will "exit 0" on success or any other |
| # value on error. |
| # |
| ip r a 10.254.0.0/16 dev ens4 |
| exit 0 |