Friday, June 5, 2020

Chartmuseum helm deployment

                                    Application Deployment Using Helm Charts and ChartMuseum on Kubernetes

                    ChartMuseum is an open-source, easy to deploy, Helm Chart Repository server


Today we are going to install the chartmuseum repo in k8s deployment.

PREREQUISITES:
=====
1. Working ki8s cluster     
2. Helm 2.16 installed with tiller pod deployed
3. Working internet connection 😊

Lets start with the actual deployment:
===
1. Add the helm repo 

    helm repo add stable https://kubernetes-charts.storage.googleapis.com

2. Install the charmuseum chart as below:

    helm install stable/chartmuseum --set env.open.DISABLE_API=false

3. Check the deployment using 

    PODS:
    kubectl get pods -o wide

    SERVICE:
    kubectl get svc -o wide

4. Add the "sample" repo to chartmuseum
    
    helm repo add sample http://<service_ip_chartmuseum>:8080

    UPDATE repo:
    helm repo update
    
    Check repo list:
    helm repo list

5. To push he helm packages to charmuseum repo:

    Install the helm plugin:
    helm plugin install https://github.com/chartmuseum/helm-push

    Push the helm package using below command:
    helm push app-0.1.0.tgz sample    
    or
    curl --data-binary "@app1-0.1.0.tgz"  http://<service_ip_chartmuseum>/api/charts -v

6. To check the charts added/available in the chartmuseum repo 

    curl -X GET http://<service_ip_chartmuseum>/api/charts -v

7. To delete the charts from the repo

    curl -X DELETE http://<service_ip_chartmuseum>/api/charts/mlbxapp1/0.1.0 -v


You can find the pod deployed for the chartmuseum as below shown in the example:






Enjoy the Learning....

Wednesday, June 3, 2020

ROBOT Framework Installation on Ubuntu 18.04

Python Robot Framework Install – Just Another Tech BlogUbuntu 18.04 LTS Finally Released: Upgrade/Download To Get New ...

INTRODUCTION:

Robot Framework is an open source test automation framework for acceptance testing and acceptance test-driven development. It follows different test case styles – keyword-driven, behavior-driven and data-driven for writing test cases. 

Robot Framework provides good support for external libraries, tools that are open source and can be used for automation. The most popular library used with Robot Framework is Selenium Library used for web development & UI testing.

Robot Framework can be installed on all major operating system platforms. Today we are going to install ROBOT framework on Ubuntu OS.

PREREQUISITE:

1. Ubuntu 18.04.3 LTS
2. Linux 5.3.0-53-generic x86_64
3. Internet connectivity 😉

INSTALLATION:

1. Install Python

    $ sudo apt install python2.7

2. Install python pip
    $ sudo apt install python-pip

3. Install Robot Framework package using pip:
    sudo pip install robotframework

 Once the installation completes, to verify if the installation went OK, enter the below command:
    $ robot --version

Enjoy your ROBOT framework installation is completed successfully 😇

Note:  In order to work with Webdriver (Selenium 2) and Robot Framework, you need to install 'Selenium2Library'. You can perform the pip installation as below:
    $ sudo pip install robotframework-selenium2library







Chartmuseum helm deployment

                                                                      ChartMuseum is an open-source, easy to deploy, Helm Chart Repository s...