Installing Jenkins X on Oracle Kubernetes Engine (aka OKE)


architecture barge bay beach
Photo by Pixabay on Pexels.com

First, install this tool in local:

brew tap jenkins-x/jx 
brew install jx

Check here for installing the tool in other OS’s than MAC. And now issue this command to deploy on the k8s cluster of the oracle provider (oke):

jx install --provider=oke

Follow instructions and  command prompts and you’ll get them’all stuff installed if a few minutes:

MacBook-Pro-de-javi:~ javiermugueta$ jx install --provider=oke
Error loading team settings. Unable to locate dev environment resource definition in namespace default, No Environment called: dev or with selector: env=dev found 0 entries: []
...
If you don't have a wildcard DNS setup then setup a new CNAME and point it at: 46.66.16.31.nip.io then use the DNS domain in the next input...
? Domain 46.66.16.31.nip.io
nginx ingress controller installed and configured
Lets set up a Git username and API token to be able to perform CI/CD
? GitHub user name: javiermugueta
To be able to create a repository on GitHub we need an API Token
Please click this URL https://github.com/settings/tokens/new?scopes=repo,read:user,read:org,user:email,write:repo_hook,delete_repo
Then COPY the token and enter in into the form below:
? API Token: ****************************************
Updated the team settings in namespace jx
...
Error: creating the chrome client: timeout waiting for initial target
Please go to http://jenkins.jx.46.66.16.31.nip.io/me/configure and click Show API Token to get your API Token
Then COPY the token and enter in into the form below:
? API Token: **********************************
Created user admin API Token for Jenkins server jenkins.jx.46.66.16.31.nip.io at http://jenkins.jx.46.66.16.31.nip.io
...
Your Kubernetes context is now set to the namespace: jx 
To switch back to your original namespace use: jx ns default
For help on switching contexts see: https://jenkins-x.io/developing/kube-context/
To import existing projects into Jenkins:       jx import
To create a new Spring Boot microservice:       jx create spring -d web -d actuator
To create a new microservice from a quickstart: jx create quickstart

And here it is! Now you can even deep dive into the new Blue Ocean UI

jenkinsx.png

Enjoy 🙂

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.