Coder Social home page Coder Social logo

devops's Introduction

Devops Test New Employment

This is for Test Number 2 to deploy SimpleService and Influxdb

Plugin Must Install Before Start and set credentials

  1. Jenkins

    Install Plugin kubernetes, kubernetes CLI, Google Kubernetes Engine, Kubernetes Credential Plugin and make sure git plugin installed

    next step create credential in jenkins like credential for login to github repo, docker repo and google kubernetes

  2. Docker

    After Install Docker Engine in Linux, Please Usermod first for running jenkins to docker

    usermod -aG docker jenkins
    

    Restart Docker after usermod

  3. kubectl

Apply First for Ingress and Influxdb to your kubernetes because this yaml not include in CI/CD.

4. google kubernetes engine

Create Kubernetes Cluster dan import Service Account key in AIM menu

Jenkins Prepare CI/CD

  1. Setting Node Cloud for Connect to Google Kubernetes Engine
Manage Jenkins -> Manage Nodes and Clouds -> Manage Clouds

2. Choose Kubernetes in 'kubernetes' you can assign kubernetes cluster IP from your GKE(Google Kubernetes Engine) Cluster and get Credential key sam place under IP kubernetes Cluster

3. For the next Step we must add jenkins_url ``` http://hostname:port ``` and choose websocket for connect to agent
5. in the menu kubernetes have pod template this menu use for create pod agent kubernetes to support Deployment to GKE and give label for intialitaion agent if we want to use this agent

5. for test the agent we can make freestyle project and choose Restrict where this project and input the label of agent we made for example 6. Choose ``` kube-slave ``` choose build step execute shell for test command in the agent if success we can go to next step for create CI/CD pipeline jenkins 8. Create new Item and select the pipeline Project after that scroll and until pipeline category and choose pipeline script from SCM for running jenkinsfile for SCM select git and paste repository where we use for CI/CD and select credential of github we add in the first after install plugin after that save and build

7. after that try to build the job jenkins we made for CI/CD for SimpleService

devops's People

Contributors

fajarnrs avatar

Watchers

 avatar

devops's Issues

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.