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
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:java="http://www.yworks.com/xml/yfiles-common/1.0/java" xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/primitives/2.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd"> | |
<!--Created by yEd 3.18.2--> | |
<key for="port" id="d0" yfiles.type="portgraphics"/> | |
<key for="port" id="d1" yfiles.type="portgeometry"/> | |
<key for="port" id="d2" yfiles.type="portuserdata"/> | |
<key attr.name="url" attr.type="string" for="node" id="d3"/> | |
<key attr.name="description" attr.type="string" for="node" id="d4"/> | |
<key for="node" id="d5" yfiles.type="nodegraphics"/> | |
<key for="graphml" id="d6" yfiles.type="resources"/> |
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
# Make sure you are NOT root for these commands! But it must be a sudoer user. | |
# Open the ports you need to expose outside the node | |
#sudo firewall-cmd --zone=public --add-port=6443/tcp --permanent # Kubernetes API server | |
#sudo firewall-cmd --zone=public --add-port=2379-2380/tcp --permanent # etcd server client API | |
#sudo firewall-cmd --zone=public --add-port=10250/tcp --permanent # Kubelet API | |
#sudo firewall-cmd --zone=public --add-port=10251/tcp --permanent # kube-scheduler | |
#sudo firewall-cmd --zone=public --add-port=10252/tcp --permanent # kube-controller-manager | |
#sudo firewall-cmd --reload |
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
sudo -i # Become root | |
sudo yum update -y # Update all packages | |
# Install the yum-config-manager and add the repo to install docker | |
sudo yum install -y yum-utils device-mapper-persistent-data lvm2 | |
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
# Configure iptables for Kubernetes | |
cat <<EOF > /etc/sysctl.d/k8s.conf | |
net.bridge.bridge-nf-call-ip6tables = 1 |
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
// Copyright 2017 Google Inc. | |
// Though this is NOT an officially supported Google product! | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software |