Skip to content

Commit a353111

Browse files
authored
Merge pull request #1 from Namanv0509/master
Learning Path Kubernates Quick start
2 parents edc3fad + 0feacd9 commit a353111

File tree

23 files changed

+1279
-1
lines changed

23 files changed

+1279
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
type: "learning-path"
3+
title: "Getting Started "
4+
description: "Getting Started With Kubenetes Fundamentals"
5+
id: "e37015d1-db1a-4964-999e-0a3d852e9e34"
6+
banner: "digitalocean.svg"
7+
weight: 1
8+
level: "beginner"
9+
---
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
type: "course"
3+
id: "kubernetes-quickstart"
4+
title: "Kubernetes Quickstart"
5+
description: "DigitalOcean Kubernetes (DOKS) is a Kubernetes service with a fully managed control plane, high availability, and autoscaling. DOKS integrates with standard Kubernetes toolchains and DigitalOcean’s load balancers, volumes, CPU and GPU Droplets, API, and CLI."
6+
weight: 1
7+
banner: "digitalocean.svg"
8+
tags: ["Starter","Kubernetes"]
9+
categories: "Kubernetes"
10+
level: "beginner"
11+
---
12+
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
type: "module"
3+
id: "quickstart"
4+
title: "Quickstart"
5+
description: ""
6+
weight: 1
7+
tags: [Cluster]
8+
categories: "Kubernetes"
9+
level: "intermediate"
10+
---
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
type: "page"
3+
id: "create-clusters"
4+
description: ""
5+
title: "Create Clusters"
6+
weight: 1
7+
---
8+
9+
To create a Kubernetes cluster:
10+
11+
1. From the Create menu in the [control panel](https://cloud.digitalocean.com/), click Kubernetes.
12+
2. Select a Kubernetes version. The latest version is selected by default and is the best choice if you have no specific need for an earlier version.
13+
3. Choose a [datacenter region](https://docs.digitalocean.com/products/kubernetes/details/availability/).
14+
4. Choose a VPC network you’ve created or use your default network for the datacenter region.
15+
5. New clusters use [VPC-native cluster networking](https://docs.digitalocean.com/products/kubernetes/details/features/#vpc-native-networking). Choose Size network subnets for me to use the default /16 (512 nodes) pod network and /19 (8192 services) service network. To customize the pod and service network sizes, choose Configure my own network subnet sizes.
16+
6. Customize the default node pool, choose the machine type and node pool names, and add additional node pools. Specify whether the node pool should [autoscale](https://docs.digitalocean.com/products/kubernetes/how-to/autoscale/) and set the minimum and maximum number of nodes.
17+
7. Optionally, enable [high availability](https://docs.digitalocean.com/products/kubernetes/details/managed/#managed-elements-of-the-control-plane) to increase the uptime of your cluster.
18+
8. Name the cluster, select the project you want the cluster to belong to, and optionally add a tag. Any tags you choose are applied to the cluster and its worker nodes.
19+
9. Click Create Kubernetes cluster. Provisioning the cluster takes several minutes.
20+
10. Download the cluster configuration file by clicking Actions, then Download Config from the cluster home page.
21+
22+
Once the cluster is created, use [kubectl to manage it](https://docs.digitalocean.com/products/kubernetes/how-to/connect-to-cluster/).
23+
24+
To get started with DigitalOcean Kubernetes, see our [Build and Deploy Your First Image to Your First Cluster](https://docs.digitalocean.com/products/kubernetes/getting-started/deploy-image-to-cluster/)
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
type: "page"
3+
id: "destroy-clusters "
4+
description: ""
5+
title: "Destroy Clusters"
6+
weight: 6
7+
---
8+
To delete an entire cluster:
9+
10+
1. Open the cluster’s More menu and select Destroy.
11+
2. Click Destroy.
12+
3. Select the associated volumes and load balancers to delete.
13+
4. Enter the name of the cluster, then click Destroy to confirm.
14+
15+
Destroying a cluster does not delete DigitalOcean Load Balancers or volumes associated with the cluster.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
type: "page"
3+
id: "edit-nodes-and-node-pools-for-an-existing-cluster"
4+
description: ""
5+
title: "Edit Nodes and Node Pools for an Existing Cluster "
6+
weight: 4
7+
---
8+
9+
You can create additional node pools and add and remove nodes from a node pool at any time.
10+
11+
To edit the size of an existing node pool:
12+
13+
1. Open the cluster’s More menu and select View Nodes.
14+
2. Next to the node pool which you’d like to resize, click the … button, then click Resize or Autoscale.
15+
3. Use the + and - controls to adjust the size of the pool, then click the Update Node Count to confirm.
16+
17+
To add additional node pools:
18+
19+
1. Open the cluster’s More menu and select View Nodes.
20+
2. Click Add Node Pool.
21+
3. Select the name, type, size, and number of Droplets in the pool. Click Add Node Pool(s) to add additional node pools.
22+
4. Click Save to save your changes and provision your new nodes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
type: "page"
3+
id: "install-a-1-click-app-to-a-new-or-existing-kubernetes-cluster "
4+
description: ""
5+
title: "Install a 1-Click App to a New or Existing Kubernetes Cluster "
6+
weight: 2
7+
---
8+
9+
You can add a variety of preconfigured apps and stacks to a new or existing Kubernetes cluster.
10+
11+
1. Navigate to the Marketplace tab of your cluster in the [Kubernetes section of the control panel](https://cloud.digitalocean.com/kubernetes/clusters).
12+
2. Click Install in the Install Kubernetes 1-Click Apps section to install one of the recommended apps or search for an app in the search field.
13+
Alternatively, locate the app you want to install in the [DigitalOcean Marketplace](https://marketplace.digitalocean.com/category/kubernetes) and click Install App on the upper right. Select whether to install the app on a new or existing cluster.
14+
15+
For more details about the 1-Click Apps, see [Manage 1-Click Applications](https://docs.digitalocean.com/products/kubernetes/how-to/manage-1click-apps/).
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
type: "page"
3+
id: "recycle-nodes"
4+
description: ""
5+
title: "Recycle Nodes"
6+
weight: 5
7+
---
8+
9+
If a worker node isn’t functioning properly, you can destroy and replace it with a new node of the same type with the Recycle option.
10+
11+
1. Open the cluster’s … menu and select View Nodes.
12+
13+
2. Click the name of the node pool with the problem node.
14+
15+
3. Open the … menu next to the problem node and select Recycle.
16+
17+
4. Optionally, if you want to skip draining the node before removing it, uncheck the Drain node when replacing checkbox.
18+
19+
By default, the workloads are drained from the node before the node is removed. Skipping node draining is useful when you know that a drain will fail because the workload is broken or cannot gracefully terminate.
20+
21+
5. Click Recycle to confirm the action.
22+
23+
Recycling a worker node replaces the underlying Droplet with a newly provisioned one. Attached volumes are detached and reattached to the new Droplet, but any data stored locally on the original Droplet’s disk will be lost.
24+

0 commit comments

Comments
 (0)