This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
## On the undercloud, don't forget to configure the DNS | |
yum -y install docker | |
systemctl enable docker | |
systemctl start docker | |
cat <<EOF > /etc/yum.repos.d/kubernetes.repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
kind: ConfigMap | |
apiVersion: v1 | |
metadata: | |
name: cni-install-sh | |
namespace: kube-system | |
data: | |
install_cni.sh: | | |
cd /tmp | |
wget https://github.com/containernetworking/plugins/releases/download/v0.8.5/cni-plugins-linux-amd64-v0.8.5.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ [[ -f /env/_master ]] | |
+ trap quit TERM INT | |
+ ovn_kubernetes_namespace=hypershift-ovn | |
+ ovndb_ctl_ssl_opts='-p /ovn-cert/tls.key -c /ovn-cert/tls.crt -C /ovn-ca/ca-bundle.crt' | |
+ transport=ssl | |
+ ovn_raft_conn_ip_url_suffix= | |
+ [[ 10.128.2.60 == *\:* ]] | |
+ db=sb | |
+ db_port=9642 | |
+ ovn_db_file=/etc/ovn/ovnsb_db.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ [[ -f /env/_master ]] | |
+ trap quit TERM INT | |
+ ovn_kubernetes_namespace=hypershift-ovn | |
+ ovndb_ctl_ssl_opts='-p /ovn-cert/tls.key -c /ovn-cert/tls.crt -C /ovn-ca/ca-bundle.crt' | |
+ transport=ssl | |
+ ovn_raft_conn_ip_url_suffix= | |
+ [[ 10.128.2.60 == *\:* ]] | |
+ db=sb | |
+ db_port=9642 | |
+ ovn_db_file=/etc/ovn/ovnsb_db.db |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ [[ -f /env/_master ]] | |
+ trap quit TERM INT | |
+ ovn_kubernetes_namespace=hypershift-ovn | |
+ ovndb_ctl_ssl_opts='-p /ovn-cert/tls.key -c /ovn-cert/tls.crt -C /ovn-ca/ca-bundle.crt' | |
+ transport=ssl | |
+ ovn_raft_conn_ip_url_suffix= | |
+ [[ 10.128.2.114 == *\:* ]] | |
+ db=sb | |
+ db_port=9642 | |
+ ovn_db_file=/etc/ovn/ovnsb_db.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The ovnkube control-plane components | |
# The pod disruption budget ensures that we keep a raft quorum | |
apiVersion: policy/v1beta1 | |
kind: PodDisruptionBudget | |
metadata: | |
name: ovn-raft-quorum-guard | |
namespace: hypershift-ovn | |
spec: | |
minAvailable: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ [[ -f /env/_master ]] | |
+ trap quit TERM INT | |
+ ovn_kubernetes_namespace=hypershift-ovn | |
+ ovndb_ctl_ssl_opts='-p /ovn-cert/tls.key -c /ovn-cert/tls.crt -C /ovn-ca/ca-bundle.crt' | |
+ transport=ssl | |
+ ovn_raft_conn_ip_url_suffix= | |
+ [[ 10.128.3.228 == *\:* ]] | |
+ db=sb | |
+ db_port=9642 | |
+ ovn_db_file=/etc/ovn/ovnsb_db.db |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ [[ -f /env/_master ]] | |
+ trap quit TERM INT | |
+ ovn_kubernetes_namespace=hypershift-ovn | |
+ ovndb_ctl_ssl_opts='-p /ovn-cert/tls.key -c /ovn-cert/tls.crt -C /ovn-ca/ca-bundle.crt' | |
+ transport=ssl | |
+ ovn_raft_conn_ip_url_suffix= | |
+ [[ 10.128.3.242 == *\:* ]] | |
+ db=sb | |
+ db_port=9642 | |
+ ovn_db_file=/etc/ovn/ovnsb_db.db |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ [[ -f /env/_master ]] | |
+ trap quit TERM INT | |
+ ovn_kubernetes_namespace=hypershift-ovn | |
+ ovndb_ctl_ssl_opts='-p /ovn-cert/tls.key -c /ovn-cert/tls.crt -C /ovn-ca/ca-bundle.crt' | |
+ transport=ssl | |
+ ovn_raft_conn_ip_url_suffix= | |
+ [[ 10.129.2.47 == *\:* ]] | |
+ db=sb | |
+ db_port=9642 | |
+ ovn_db_file=/etc/ovn/ovnsb_db.db |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ [[ -f /env/_master ]] | |
+ trap quit TERM INT | |
++ date -Iseconds | |
2022-02-15T08:14:04+00:00 - starting ovn-northd | |
+ echo '2022-02-15T08:14:04+00:00 - starting ovn-northd' | |
+ ovn_kubernetes_namespace=hypershift-ovn | |
+ master_0_hostname=ovnkube-master-guest-0.ovnkube-master-guest.hypershift-ovn.svc.cluster.local | |
+ master_1_hostname=ovnkube-master-guest-1.ovnkube-master-guest.hypershift-ovn.svc.cluster.local | |
+ master_2_hostname=ovnkube-master-guest-2.ovnkube-master-guest.hypershift-ovn.svc.cluster.local | |
+ wait 9 |