This file contains hidden or 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
| # Program make a simple calculator that can add, subtract, multiply and divide using functions | |
| # define functions | |
| def add(x, y): | |
| """This function adds two numbers""" | |
| return x + y | |
| def subtract(x, y): | |
| """This function subtracts two numbers""" |
Certainly! Here's a step-by-step guide to installing Kubernetes (K8s) on Ubuntu 20.04 from scratch. This guide will walk you through the process of setting up a basic Kubernetes cluster using kubeadm, kubelet, and kubectl.
Prerequisites:
-
Ubuntu 20.04: You should have a clean installation of Ubuntu 20.04 on the machines where you plan to set up your Kubernetes cluster.
-
Minimum 2 Nodes: For a basic Kubernetes cluster, you need at least two nodes - one for the master and one or more for worker nodes.
-
Network Configuration: Ensure that your nodes can communicate with each other over the network. You should have a static IP address for each node.
This file contains hidden or 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 | |
| ############################################################################### | |
| # Author: Abhishek Veeramalla | |
| # Version: v0.0.1 | |
| # Script to automate the process of listing all the resources in an AWS account | |
| # | |
| # Below are the services that are supported by this script: | |
| # 1. EC2 |