CentOS7.6安裝OpenShift3.11

前言

本文參考下面鏈接提供另外一種完全離線的安裝OpenShift3.11的方式 http://www.reibang.com/p/f9284e02bdcd

操作系統(tǒng)采用CentOS7.6, 注意不要更換阿里源念逞,安裝會(huì)失敗评甜。

[root@openshift1 ~]# lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.6.1810 (Core)
Release: 7.6.1810
Codename: Core
主機(jī) IP 備注
openshift1 192.168.1.25 Master
openshift2 192.168.1.27 Compute
openshift3 192.168.1.28 Compute腐魂,infra

下載離線包

docker鏡像

找一臺(tái)能訪問(wèn)網(wǎng)絡(luò)的機(jī)器,下載所有離線鏡像

yum install docker -y
systemctl start docker; systemctl enable docker

docker pull docker.io/openshift/origin-node:v3.11
docker pull docker.io/openshift/origin-control-plane:v3.11
docker pull docker.io/openshift/origin-deployer:v3.11.0
docker pull docker.io/openshift/origin-haproxy-router:v3.11
docker pull docker.io/openshift/origin-pod:v3.11.0
docker pull docker.io/openshift/origin-web-console:v3.11
docker pull docker.io/openshift/origin-docker-registry:v3.11
docker pull docker.io/openshift/origin-metrics-server:v3.11
docker pull docker.io/openshift/origin-console:v3.11
docker pull docker.io/openshift/origin-metrics-heapster:v3.11
docker pull docker.io/openshift/origin-metrics-hawkular-metrics:v3.11
docker pull docker.io/openshift/origin-metrics-schema-installer:v3.11
docker pull docker.io/openshift/origin-metrics-cassandra:v3.11
docker pull docker.io/cockpit/kubernetes:latest
docker pull quay.io/coreos/cluster-monitoring-operator:v0.1.1
docker pull quay.io/coreos/prometheus-config-reloader:v0.23.2
docker pull quay.io/coreos/prometheus-operator:v0.23.2
docker pull docker.io/openshift/prometheus-alertmanager:v0.15.2
docker pull docker.io/openshift/prometheus-node-exporter:v0.16.0
docker pull docker.io/openshift/prometheus:v2.3.2
docker pull docker.io/grafana/grafana:5.2.1
docker pull quay.io/coreos/kube-rbac-proxy:v0.3.1
docker pull quay.io/coreos/etcd:v3.2.22
docker pull quay.io/coreos/kube-state-metrics:v1.3.1
docker pull docker.io/openshift/oauth-proxy:v1.1.0
docker pull quay.io/coreos/configmap-reload:v0.0.1

下載Docker鏡像后,使用工具批量導(dǎo)出鏡像和在新節(jié)點(diǎn)上導(dǎo)入
https://github.com/laoshanxi/saveloadimg

緩存YUM rpm包
yum 源中rpm包的離線可以通過(guò)第一次安裝的時(shí)候保留cache棕兼,后續(xù)基于cache(/var/cache/yum)的rpm包制作yum源

sudo sed -i 's/keepcache=0/keepcache=1/g' /etc/yum.conf

所有節(jié)點(diǎn)

配置SELINUX為permissive:

sudo sed  -i 's/SELINUX=enforcing/SELINUX=permissive/g'  /etc/selinux/config

所有節(jié)點(diǎn)安裝基礎(chǔ)包 參考: [OKD 3.11 installing-base-packages]

yum install wget git net-tools bind-utils yum-utils iptables-services bridge-utils bash-completion kexec-tools sos psacct vim python-setuptools unzip tree docker –y

yum install atomic -y

# 安裝比較耗時(shí)的包
yum install -y origin-node-3.11.0 origin-clients-3.11.0 conntrack-tools
# master安裝
yum install -y origin-3.11.0

安裝OpenShift源

sudo yum install -y centos-release-openshift-origin311 ceph-common container-selinux docker epel extras python-docker

關(guān)閉防火墻(不能關(guān)閉iptable)

sudo systemctl stop firewalld.service; sudo systemctl disable firewalld.service

所有節(jié)點(diǎn)配置iptable

cp /etc/sysconfig/iptables /etc/sysconfig/iptables.bak.$(date "+%Y%m%d%H%M%S");
sed -i '/.*--dport 22 -j ACCEPT.*/a\-A INPUT -p tcp -m state --state NEW -m tcp --dport 53 -j ACCEPT' /etc/sysconfig/iptables;
sed -i '/.*--dport 22 -j ACCEPT.*/a\-A INPUT -p udp -m state --state NEW -m udp --dport 53 -j ACCEPT' /etc/sysconfig/iptables;
sed -i '/.*--dport 22 -j ACCEPT.*/a\-A INPUT -p tcp -m state --state NEW -m tcp --dport 5000 -j ACCEPT' /etc/sysconfig/iptables;
sed -i '/.*--dport 22 -j ACCEPT.*/a\-A INPUT -p tcp -m state --state NEW -m tcp --dport 81 -j ACCEPT' /etc/sysconfig/iptables;

# 在master節(jié)點(diǎn)允許 8443 for node join
sed -i '/.*--dport 22 -j ACCEPT.*/a\-A INPUT -p tcp -m state --state NEW -m tcp --dport 8443 -j ACCEPT ' /etc/sysconfig/iptables;
sed -i '/.*--dport 22 -j ACCEPT.*/a\-A INPUT -p tcp -m state --state NEW -m tcp --dport 8443 -j ACCEPT ' /etc/sysconfig/iptables;

systemctl restart iptables;systemctl enable iptables

重啟

reboot

Master節(jié)點(diǎn)操作Ansible

配置ansible SSH免密碼

ssh-keygen -f ~/.ssh/id_rsa -N ''
for host in openshift1 openshift2 openshift3
do
     echo $host
     ssh-copy-id -i ~/.ssh/id_rsa.pub $host;
done

安裝openshift ansible

yum install -y ansible-2.6.14-1.el7
yum install -y openshift-ansible

配置ansible-1(使用Open VSwitch虛擬網(wǎng)絡(luò))

[root@openshift1 ~]# cat /etc/ansible/hosts
# Create an OSEv3 group that contains the masters, nodes, and etcd groups
[OSEv3:children]
masters
nodes
etcd

# Set variables common for all OSEv3 hosts
[OSEv3:vars]
# SSH user, this user should allow ssh based auth without requiring a password
ansible_ssh_user=root
#openshift_deployment_type=openshift-enterprise
openshift_deployment_type=origin
openshift_release="3.11"
openshift_image_tag=v3.11
openshift_pkg_version=-3.11.0
openshift_use_openshift_sdn=true
# If ansible_ssh_user is not root, ansible_become must be set to true
#ansible_become=true
#containerized=false

# default selectors for router and registry services
# openshift_router_selector='node-role.kubernetes.io/infra=true'
# openshift_registry_selector='node-role.kubernetes.io/infra=true'

# uncomment the following to enable htpasswd authentication; defaults to DenyAllPasswordIdentityProvider
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider'}]
#openshift_master_default_subdomain=ai.com
openshift_disable_check=memory_availability,disk_availability,docker_image_availability

os_sdn_network_plugin_name='redhat/openshift-ovs-networkpolicy'

openshift_master_cluster_method=native
openshift_master_cluster_hostname=openshift1
openshift_master_cluster_public_hostname=openshift1
# false
ansible_service_broker_install=false
openshift_enable_service_catalog=false
template_service_broker_install=false
openshift_logging_install_logging=false
enable_excluders=false
# registry passwd
#oreg_url=10.1.236.77:5000/openshift3/ose-${component}:${version}
#oreg_url=10.1.236.77:5000/openshift/origin-${component}:${version}
#openshift_examples_modify_imagestreams=true

# docker config
#openshift_docker_additional_registries=10.1.236.77:5000
#openshift_docker_insecure_registries=10.1.236.77:5000
#openshift_docker_blocked_registries
openshift_docker_options="--log-driver json-file --log-opt max-size=1M --log-opt max-file=3"

# openshift_cluster_monitoring_operator_install=false
# openshift_metrics_install_metrics=true
# openshift_enable_unsupported_configurations=True
#openshift_logging_es_nodeselector='node-role.kubernetes.io/infra: "true"'
#openshift_logging_kibana_nodeselector='node-role.kubernetes.io/infra: "true"'
# host group for masters

[masters]
openshift1

# host group for etcd
[etcd]
openshift1

# host group for nodes, includes region info
[nodes]
openshift1 openshift_node_group_name='node-config-master'
openshift2 openshift_node_group_name='node-config-compute'
openshift3 openshift_node_group_name='node-config-compute'
openshift2  openshift_node_group_name='node-config-infra'

配置ansible-2(使用Calico虛擬網(wǎng)絡(luò))

[root@openshift1 ~]# cat /etc/ansible/hosts    
# Create an OSEv3 group that contains the masters, nodes, and etcd groups
[OSEv3:children]
masters
nodes
etcd

# Set variables common for all OSEv3 hosts
[OSEv3:vars]
# bellow 3 parameter for Calico
os_sdn_network_plugin_name=cni
openshift_use_calico=true
openshift_use_openshift_sdn=false

# SSH user, this user should allow ssh based auth without requiring a password
ansible_ssh_user=root
#openshift_deployment_type=openshift-enterprise
openshift_deployment_type=origin
openshift_release="3.11"
openshift_image_tag=v3.11
openshift_pkg_version=-3.11.0
#openshift_use_openshift_sdn=true
# If ansible_ssh_user is not root, ansible_become must be set to true
#ansible_become=true
#containerized=false

# default selectors for router and registry services
# openshift_router_selector='node-role.kubernetes.io/infra=true'
# openshift_registry_selector='node-role.kubernetes.io/infra=true'

# uncomment the following to enable htpasswd authentication; defaults to DenyAllPasswordIdentityProvider
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider'}]
#openshift_master_default_subdomain=ai.com
openshift_disable_check=memory_availability,disk_availability,docker_image_availability,docker_storage

#os_sdn_network_plugin_name='redhat/openshift-ovs-networkpolicy'

openshift_master_cluster_method=native
openshift_master_cluster_hostname=openshift1
openshift_master_cluster_public_hostname=openshift1
# false
ansible_service_broker_install=false
openshift_enable_service_catalog=false
template_service_broker_install=false
openshift_logging_install_logging=false
enable_excluders=false
# registry passwd
#oreg_url=10.1.236.77:5000/openshift3/ose-${component}:${version}
#oreg_url=10.1.236.77:5000/openshift/origin-${component}:${version}
#openshift_examples_modify_imagestreams=true

# docker config
#openshift_docker_additional_registries=10.1.236.77:5000
#openshift_docker_insecure_registries=10.1.236.77:5000
#openshift_docker_blocked_registries
openshift_docker_options="--log-driver json-file --log-opt max-size=1M --log-opt max-file=3"

# openshift_cluster_monitoring_operator_install=false
# openshift_metrics_install_metrics=true
# openshift_enable_unsupported_configurations=True
#openshift_logging_es_nodeselector='node-role.kubernetes.io/infra: "true"'
#openshift_logging_kibana_nodeselector='node-role.kubernetes.io/infra: "true"'
# host group for masters

[masters]
openshift1

# host group for etcd
[etcd]
openshift1

# host group for nodes, includes region info
[nodes]
openshift1 openshift_node_group_name='node-config-master'
openshift2 openshift_node_group_name='node-config-compute'
openshift3 openshift_node_group_name='node-config-compute'
openshift2  openshift_node_group_name='node-config-infra'

配置DNS

ansible all -m copy -a "src=/etc/hosts dest=/etc/hosts "

啟動(dòng)Docker

ansible all -a 'systemctl start docker';ansible all -a 'systemctl enable docker'

執(zhí)行檢查

ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/prerequisites.yml

執(zhí)行安裝

ansible-playbook /usr/share/ansible/openshift-ansible/playbooks/deploy_cluster.yml -vvv

執(zhí)行卸載

ansible-playbook  /usr/share/ansible/openshift-ansible/playbooks/adhoc/uninstall.yml

安裝后配置

創(chuàng)建用戶

htpasswd -cb /etc/origin/master/htpasswd admin abc123
oc adm policy add-cluster-role-to-user cluster-admin admin

安裝成功

訪問(wèn)web console的時(shí)候要用域名和https訪問(wèn)(https://openshift1:8443/

image.png

image.png

安裝包列表

通過(guò)下面命令最終可以查到master節(jié)點(diǎn)上安裝的rpm包列表

rpm -qa | awk '{cmd="rpm -qi "$0" | grep \"Install Date\" ";system(cmd);cmd="rpm -qi "$0" | grep \"Source RPM\" ";system(cmd);}' > rpm_list.log
 origin-3.11.0-1.el7.git.0.62803d0.src.rpm
 etcd-3.3.11-2.el7.centos.src.rpm
 origin-3.11.0-1.el7.git.0.62803d0.src.rpm
 origin-3.11.0-1.el7.git.0.62803d0.src.rpm
 origin-3.11.0-1.el7.git.0.62803d0.src.rpm
 lrzsz-0.12.20-36.el7.src.rpm
 autogen-5.18-5.el7.src.rpm
 ntp-4.2.6p5-28.el7.centos.src.rpm
 iscsi-initiator-utils-6.2.0.874-10.el7.src.rpm
 device-mapper-multipath-0.4.9-123.el7.src.rpm
 device-mapper-multipath-0.4.9-123.el7.src.rpm
 device-mapper-multipath-0.4.9-123.el7.src.rpm
 iscsi-initiator-utils-6.2.0.874-10.el7.src.rpm
 glusterfs-3.12.2-18.el7.src.rpm
 glusterfs-3.12.2-18.el7.src.rpm
 glusterfs-3.12.2-18.el7.src.rpm
 glusterfs-3.12.2-18.el7.src.rpm
 ding-libs-0.6.1-32.el7.src.rpm
 libverto-0.2.5-4.el7.src.rpm
 ding-libs-0.6.1-32.el7.src.rpm
 ding-libs-0.6.1-32.el7.src.rpm
 libevent-2.0.21-4.el7.src.rpm
 keyutils-1.5.8-3.el7.src.rpm
 ding-libs-0.6.1-32.el7.src.rpm
 gssproxy-0.7.0-21.el7.src.rpm
 ding-libs-0.6.1-32.el7.src.rpm
 libnfsidmap-0.25-19.el7.src.rpm
 nfs-utils-1.3.0-0.61.el7.src.rpm
 conntrack-tools-1.4.4-4.el7.src.rpm
 socat-1.7.3.2-2.el7.src.rpm
 libnetfilter_cttimeout-1.0.0-6.el7.src.rpm
 libnetfilter_queue-1.0.2-2.el7_2.src.rpm
 libnetfilter_cthelper-1.0.0-9.el7.src.rpm
 dnsmasq-2.76-7.el7.src.rpm
 criu-3.9-5.el7.src.rpm
 skopeo-0.1.35-2.git404c5bd.el7.centos.src.rpm
 protobuf-c-1.0.2-3.el7.src.rpm
 runc-1.0.0-59.dev.git2abd837.el7.centos.src.rpm
 gomtree-0.5.0-0.2.git16da0f8.el7.src.rpm
 atomic-1.22.1-26.gitb507039.el7.centos.src.rpm
 ostree-2018.5-1.el7.src.rpm
 libnet-1.1.6-7.el7.src.rpm
 libarchive-3.1.2-10.el7_2.src.rpm
 python-dateutil-1.5-7.el7.src.rpm
 openshift-ansible-3.11.37-1.git.0.3b8b341.el7.src.rpm
 nss-3.36.0-7.1.el7_6.src.rpm
 openshift-ansible-3.11.37-1.git.0.3b8b341.el7.src.rpm
 openshift-ansible-3.11.37-1.git.0.3b8b341.el7.src.rpm
 openshift-ansible-3.11.37-1.git.0.3b8b341.el7.src.rpm
 ansible-2.6.14-1.el7.src.rpm
 python-jinja2-2.7.2-3.el7_6.src.rpm
 sshpass-1.06-2.el7.src.rpm
 python-markupsafe-0.11-10.el7.src.rpm
 java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.src.rpm
 copy-jdk-configs-3.3-10.el7_5.src.rpm
 lksctp-tools-1.0.17-2.el7.src.rpm
 python-passlib-1.6.5-2.el7.src.rpm
 babel-0.9.6-8.el7.src.rpm
 python-paramiko-2.1.1-9.el7.src.rpm
 tzdata-2019a-1.el7.src.rpm
 python-idna-2.4-1.el7.src.rpm
 libtommath-0.42.0-6.el7.src.rpm
 python-crypto-2.6.1-15.el7.src.rpm
 python-cryptography-1.7.2-2.el7.src.rpm
 libtomcrypt-1.17-26.el7.src.rpm
 javapackages-tools-3.4.1-11.el7.src.rpm
 nss-softokn-3.36.0-5.el7_5.src.rpm
 python-ply-3.4-11.el7.src.rpm
 javapackages-tools-3.4.1-11.el7.src.rpm
 apr-util-1.5.2-6.el7.src.rpm
 nss-softokn-3.36.0-5.el7_5.src.rpm
 nss-3.36.0-7.1.el7_6.src.rpm
 python-enum34-1.0.4-1.el7.src.rpm
 python-pycparser-2.14-1.el7.src.rpm
 pcsc-lite-1.8.8-8.el7.src.rpm
 httpd-2.4.6-89.el7.centos.src.rpm
 nss-3.36.0-7.1.el7_6.src.rpm
 python-cffi-1.6.0-5.el7.src.rpm
 libxslt-1.1.28-5.el7.src.rpm
 nspr-4.19.0-1.el7_5.src.rpm
 apr-1.4.8-3.el7_4.1.src.rpm
 python-pyasn1-0.1.9-7.el7.src.rpm
 nss-util-3.36.0-1.1.el7_6.src.rpm
 python-lxml-3.2.1-4.el7.src.rpm
 ceph-common-10.2.5-4.el7.src.rpm
 python-docker-py-1.10.6-9.el7_6.src.rpm
 redhat-lsb-4.1-27.el7.centos.1.src.rpm
 redhat-lsb-4.1-27.el7.centos.1.src.rpm
 python-urllib3-1.10.2-5.el7.src.rpm
 hdparm-9.43-5.el7.src.rpm
 boost-1.53.0-27.el7.src.rpm
 python-requests-2.6.0-1.el7_1.src.rpm
 python-docker-py-1.10.6-9.el7_6.src.rpm
 m4-1.4.16-10.el7.src.rpm
 icu-50.1.2-17.el7.src.rpm
 psmisc-22.20-15.el7.src.rpm
 python-websocket-client-0.32.0-116.el7.src.rpm
 ceph-common-10.2.5-4.el7.src.rpm
 cups-1.6.3-35.el7.src.rpm
 boost-1.53.0-27.el7.src.rpm
 ceph-common-10.2.5-4.el7.src.rpm
 ceph-common-10.2.5-4.el7.src.rpm
 cups-1.6.3-35.el7.src.rpm
 ceph-common-10.2.5-4.el7.src.rpm
 star-1.5.2-13.el7.src.rpm
 patch-2.7.1-10.el7_5.src.rpm
 avahi-0.6.31-19.el7.src.rpm
 gdisk-0.8.10-2.el7.src.rpm
 boost-1.53.0-27.el7.src.rpm
 boost-1.53.0-27.el7.src.rpm
 centos-release-openshift-origin311-1-2.el7.centos.src.rpm
 centos-release-configmanagement-1-1.el7.centos.src.rpm
 centos-release-paas-common-1-1.el7.centos.src.rpm
 centos-release-ansible26-1-3.el7.centos.src.rpm
 audit-2.8.4-4.el7.src.rpm
 tree-1.6.0-10.el7.src.rpm
 dracut-033-554.el7.src.rpm
 net-tools-2.0-0.24.20131004git.el7.src.rpm
 yum-utils-1.1.31-50.el7.src.rpm
 bind-9.9.4-73.el7_6.src.rpm
 wget-1.14-18.el7_6.1.src.rpm
 kexec-tools-2.0.15-21.el7_6.3.src.rpm
 sos-3.6-17.el7.centos.src.rpm
 iptables-1.4.21-28.el7.src.rpm
 bind-9.9.4-73.el7_6.src.rpm
 vim-7.4.160-5.el7.src.rpm
 docker-1.13.1-96.gitb2f74b2.el7.centos.src.rpm
 docker-1.13.1-96.gitb2f74b2.el7.centos.src.rpm
 docker-1.13.1-96.gitb2f74b2.el7.centos.src.rpm
 container-selinux-2.95-2.el7_6.src.rpm
 subscription-manager-1.21.10-3.el7.centos.src.rpm
 policycoreutils-2.5-29.el7_6.1.src.rpm
 oci-umount-2.3.4-2.git87f9237.el7.src.rpm
 python-futures-3.1.1-5.el7.src.rpm
 libcgroup-0.41-20.el7.src.rpm
 git-1.8.3.1-20.el7.src.rpm
 container-storage-setup-0.11.0-2.git5eaf76c.el7.src.rpm
 perl-TermReadKey-2.30-20.el7.src.rpm
 vim-7.4.160-5.el7.src.rpm
 git-1.8.3.1-20.el7.src.rpm
 atomic-1.22.1-26.gitb507039.el7.centos.src.rpm
 python-setuptools-0.9.8-7.el7.src.rpm
 skopeo-0.1.35-2.git404c5bd.el7.centos.src.rpm
 python-backports-ssl_match_hostname-3.5.0.1-1.el7.src.rpm
 checkpolicy-2.5-8.el7.src.rpm
 audit-2.8.4-4.el7.src.rpm
 python-ipaddress-1.0.16-2.el7.src.rpm
 python-pytoml-0.1.14-1.git7dea353.el7.src.rpm
 libsemanage-2.5-14.el7.src.rpm
 oci-systemd-hook-0.1.18-3.git8787307.el7_6.src.rpm
 setools-3.3.8-4.el7.src.rpm
 python-IPy-0.75-6.el7.src.rpm
 iptables-1.4.21-28.el7.src.rpm
 python-backports-1.0-8.el7.src.rpm
 dracut-033-554.el7.src.rpm
 libselinux-2.5-14.1.el7.src.rpm
 oci-register-machine-0-6.git2b44233.el7.src.rpm
 selinux-policy-3.13.1-229.el7_6.12.src.rpm
 perl-Error-0.17020-2.el7.src.rpm
 bind-9.9.4-73.el7_6.src.rpm
 bind-9.9.4-73.el7_6.src.rpm
 libsemanage-2.5-14.el7.src.rpm
 selinux-policy-3.13.1-229.el7_6.12.src.rpm
 audit-2.8.4-4.el7.src.rpm
 dracut-033-554.el7.src.rpm
 policycoreutils-2.5-29.el7_6.1.src.rpm
 libselinux-2.5-14.1.el7.src.rpm
 libsepol-2.5-10.el7.src.rpm
 libselinux-2.5-14.1.el7.src.rpm

Docker鏡像列表

Master:

docker.io/openshift/origin-node:v3.11
docker.io/openshift/origin-control-plane:v3.11
docker.io/openshift/origin-deployer:v3.11.0
docker.io/openshift/origin-pod:v3.11
docker.io/openshift/origin-pod:v3.11.0
docker.io/openshift/origin-console:v3.11
docker.io/openshift/origin-web-console:v3.11
docker.io/cockpit/kubernetes:latest
docker.io/openshift/prometheus-node-exporter:v0.16.0
quay.io/coreos/kube-rbac-proxy:v0.3.1
quay.io/coreos/etcd:v3.2.22

Node:

docker.io/openshift/origin-node:v3.11
docker.io/openshift/origin-pod:v3.11
docker.io/openshift/origin-pod:v3.11.0
docker.io/openshift/prometheus-node-exporter:v0.16.0
quay.io/coreos/kube-rbac-proxy:v0.3.1

Infra:

docker.io/openshift/origin-node:v3.11
docker.io/openshift/origin-haproxy-router:v3.11
docker.io/openshift/origin-deployer:v3.11.0
docker.io/openshift/origin-pod:v3.11
docker.io/openshift/origin-pod:v3.11.0
docker.io/openshift/origin-docker-registry:v3.11
quay.io/coreos/cluster-monitoring-operator:v0.1.1
quay.io/coreos/prometheus-config-reloader:v0.23.2
quay.io/coreos/prometheus-operator:v0.23.2
docker.io/openshift/prometheus-alertmanager:v0.15.2
docker.io/openshift/prometheus-node-exporter:v0.16.0
docker.io/openshift/prometheus:v2.3.2
docker.io/grafana/grafana:5.2.1
quay.io/coreos/kube-rbac-proxy:v0.3.1
quay.io/coreos/kube-state-metrics:v1.3.1
docker.io/openshift/oauth-proxy:v1.1.0
quay.io/coreos/configmap-reload:v0.0.1

參考:
https://www.cnblogs.com/ericnie/p/10193480.html

問(wèn)題:

  1. 遇到下面問(wèn)題需要在對(duì)應(yīng)node上安裝atomic包违寞,再次執(zhí)行安裝步驟:
    Message: The following packages have pending transactions: atomic-x86_64
  2. ansible 2.8 版本不支持openshift3.11,用ansible2.6.14成功安裝泪掀。
    rpm -e --nodeps ansible-2.8.2-1.el7.noarch
    yum install ansible-2.6.14-1.el7
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市颂碘,隨后出現(xiàn)的幾起案子异赫,更是在濱河造成了極大的恐慌,老刑警劉巖头岔,帶你破解...
    沈念sama閱讀 211,042評(píng)論 6 490
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件塔拳,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡峡竣,警方通過(guò)查閱死者的電腦和手機(jī)靠抑,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 89,996評(píng)論 2 384
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)适掰,“玉大人颂碧,你說(shuō)我怎么就攤上這事±嗬耍” “怎么了载城?”我有些...
    開封第一講書人閱讀 156,674評(píng)論 0 345
  • 文/不壞的土叔 我叫張陵,是天一觀的道長(zhǎng)费就。 經(jīng)常有香客問(wèn)我诉瓦,道長(zhǎng),這世上最難降的妖魔是什么力细? 我笑而不...
    開封第一講書人閱讀 56,340評(píng)論 1 283
  • 正文 為了忘掉前任睬澡,我火速辦了婚禮,結(jié)果婚禮上眠蚂,老公的妹妹穿的比我還像新娘煞聪。我一直安慰自己,他們只是感情好河狐,可當(dāng)我...
    茶點(diǎn)故事閱讀 65,404評(píng)論 5 384
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著瑟捣,像睡著了一般馋艺。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上迈套,一...
    開封第一講書人閱讀 49,749評(píng)論 1 289
  • 那天捐祠,我揣著相機(jī)與錄音,去河邊找鬼桑李。 笑死踱蛀,一個(gè)胖子當(dāng)著我的面吹牛窿给,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播率拒,決...
    沈念sama閱讀 38,902評(píng)論 3 405
  • 文/蒼蘭香墨 我猛地睜開眼崩泡,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了猬膨?” 一聲冷哼從身側(cè)響起角撞,我...
    開封第一講書人閱讀 37,662評(píng)論 0 266
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎勃痴,沒(méi)想到半個(gè)月后谒所,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 44,110評(píng)論 1 303
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡沛申,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,451評(píng)論 2 325
  • 正文 我和宋清朗相戀三年劣领,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片铁材。...
    茶點(diǎn)故事閱讀 38,577評(píng)論 1 340
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡尖淘,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出衫贬,到底是詐尸還是另有隱情德澈,我是刑警寧澤,帶...
    沈念sama閱讀 34,258評(píng)論 4 328
  • 正文 年R本政府宣布固惯,位于F島的核電站梆造,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏葬毫。R本人自食惡果不足惜镇辉,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,848評(píng)論 3 312
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望贴捡。 院中可真熱鬧忽肛,春花似錦、人聲如沸烂斋。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,726評(píng)論 0 21
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)汛骂。三九已至罕模,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間帘瞭,已是汗流浹背淑掌。 一陣腳步聲響...
    開封第一講書人閱讀 31,952評(píng)論 1 264
  • 我被黑心中介騙來(lái)泰國(guó)打工, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留蝶念,地道東北人抛腕。 一個(gè)月前我還...
    沈念sama閱讀 46,271評(píng)論 2 360
  • 正文 我出身青樓芋绸,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親担敌。 傳聞我的和親對(duì)象是個(gè)殘疾皇子摔敛,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 43,452評(píng)論 2 348

推薦閱讀更多精彩內(nèi)容