apt install -y ksm-control-daemon
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
systemctl status ksmtuned |
cat /sys/kernel/mm/ksm/pages_sharing
3647265
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
cd mychart | |
helm dependency update |
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
yum -y install epel-release zip wget | |
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm | |
yum-config-manager --enable remi-php72 | |
yum -y install php php-pdo php-mysqlnd php-ioncube-loader php-devel php-gd php-pecl-memcache php-pspell php-snmp php-xmlrpc php-xml php-mcrypt php-imap php-mailparse php-gmp | |
vi /etc/yum.repos.d/MariaDB.repo | |
``` | |
[mariadb] | |
name = MariaDB | |
baseurl = http://yum.mariadb.org/10.1/centos7-amd64 | |
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB |
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
# This serves as a stopgap fix for https://github.com/kubernetes/kops/issues/3891 | |
kind: DaemonSet | |
apiVersion: extensions/v1beta1 | |
metadata: | |
namespace: kube-system | |
name: fix-kubelet | |
labels: | |
app: fix-kubelet | |
spec: | |
template: |
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
# Env Preparation | |
yum install -y epel-release git | |
git clone https://github.com/kubernetes-incubator/kubespray | |
yum -y install https://centos7.iuscommunity.org/ius-release.rpm | |
yum -y install python36u | |
yum install -y python-pip | |
pip install -r requirements.txt | |
# Kubespray preparation |