Giter Site home page Giter Site logo

externaldns's Introduction

Installing ExternalDNS on IBM Cloud

This document will describe how to install ExternalDNS on IBM Cloud using Kubernetes services.

Contents

  1. Introduction
  2. Provision Kubernetes Cluster
  3. Deploy IBM Cloud Block-Storage Plugin
  4. Deploy ExternalDNS
  5. Verifying the ExternalDNS Installation

Introduction

To complete this tutorial, you should have an IBM Cloud account, if you do not have one, please register/signup here. For installing ExternalDNS, we have used the Kubernetes cluster, and used the IBM Cloud Block-Storage plugin for our persistent volume. Upon the completion of this tutorial, you would have the ExternalDNS up and running on the Kubernetes cluster.

  1. Provision the Kubernetes cluster, if you have already setup one, skip to step 2.
  2. Deploy the IBM Cloud Block-Storage Plugin to the created cluster, if you have already done this, skip to step 3.
  3. Deploy the ExternalDNS.

Provision Kubernetes Cluster

  • Click on the Catalog button on top center. Open Catalog. alt text

  • In search catalog box, search for Kubernetes Service and click on it. alt text

  • You are now at Create Kubernetes Cluster page, there you have the two plans to create the Kubernetes cluster, either using free plan or standard plan.

Option1- Using Free Plan:

  • Select Pricing Plan as “Free”. alt text
  • Click on Create.
  • Wait a few minutes, and then your Cloud would be ready.

Note: Please be careful when choosing free cluster, as your pods could be stuck at pending state due to insufficient compute and memory resources, if you face such kind of issue please increase your resource by creating them choosing the standard plan.

Option2- Using Standard Plan:

  • Select Pricing Plan as “Standard

  • Select your Kubernetes Version as latest available or desired one by application. In our example we have set it to be '1.18.13'.

    alt text

  • Select Infrastructure as “Classic

    alt text

  • Leave Resource Group to “Default

  • Select Geography as “Asia” or your desired one.

  • Select Availability as “Single Zone”.

This option allows you to create the resources in either single or multi availability zones. Multi availability zone provides you the option to create the resources in more than one availability zones so in case of catastrophe, it could sustain the disaster and continues to work.

  • Select Worker Zone as Chennai 01.

  • In Worker Pool, input your desired number of nodes as “2alt text

  • Leave the Encrypt Local Disk option to “On

  • Select Master Service Endpoint to “Both private and public endpoints

  • Give your cluster-name as “ExternalDNS-Cluster

  • Provide tags to your cluster and click on Create.

  • Wait a few minutes, and then your Cloud would be ready.

    alt text

Deploy IBM Cloud Block-Storage Plugin

  • Click on the Catalog button on top center.
  • In search catalog box, search for IBM Cloud Block Storage Plug-In and click on it alt text
  • Select your cluster as "ExternalDNS-Cluster"
  • Provide Target Namespace as “externaldns-storage”, leave name and resource group to default values. alt text
  • Click on Install

Deploy ExternalDNS

  • Again go to the Catalog and search for ExternalDNS.

    alt text

  • Provide the details as below. alt text

  • Target: IBM Kubernetes Service

  • Method: Helm chart

  • Kubernetes cluster: ExternalDNS-Cluster(jp-tok)

  • Target namespace: externaldns

  • Workspace: external-dns-01-06-2021

  • Resource group: Default

  • Click on Additional Parameters with Default Values, you can set the deployment values or use the default ones, we have used the default in this example.

  • Click on Install.

Verifying the ExternalDNS Installation

  • Go to the Resources List in the Left Navigation Menu and click on Kubernetes and then Clusters

  • Click on your created ExternalDNS-Cluster.

    alt text

  • A screen would come up for your created cluster, click on Actions, and then Web Terminal alt text

  • A warning will appear asking you to install the Web Terminal, click on Install.

  • When the terminal is installed, click on the action button again and click on web terminal and type the following command in below command window. It will show you the workspaces of your cluster, you can see ExternalDNS active.

     $ kubectl get ns 

alt text

     $ kubectl get pod –n Namespace –o wide 

alt text

     $ kubectl get service –n Namespace 

alt text

The installation is done. Enjoy!

externaldns's People

Contributors

marifse avatar

Watchers

 avatar

Forkers

andrew40404

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.