Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block salqadri

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
# 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
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
# Configure iptables for Kubernetes
cat <<EOF > /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-ip6tables = 1
View firebase.h
// 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
// Unless required by applicable law or agreed to in writing, software
You can’t perform that action at this time.