microservice_go_kubernetes

command
v0.0.0-...-d7ce89a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 5 Imported by: 0

README

Jenkins - Deploy Microservice on Kubernetes

Installation

Instructions to deploy in Jenkins

  • In folder where you to put the jenkins .war type the following command:
    java -jar jenkins.war --httpPort=8180
Settings
  • To create an credential type certificate configured with the name kubernetes-certificate
    • To use like password: secret
    • To do the certificate upload in: ~/.minikube/minikube.pfx
    • To go in Manage Jenkins > Configure System
    • Right down, in Cloud , select Add a new cloud
    • In Kubernetes server certificate key, you should to put the certificate key which can be found in ~/.minikube/ca.crt
Pipeline Jenkins
  • To click at the option GitHub Project and insert the Github repository https://github.com/bbeckerdarosa/devops_sandbox.git

  • In Pipeline, select the option Pipeline script from SCM

    • In SCM select the option Git
    • To click in Apply and Save
  • Click in Build with Parameters and to put the url: https://192.168.99.100:8443

  • The application will be available accessing the url: https://192.168.99.100:<service_port>

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL