Skip to content

ibm-wm-transition/sagdevops-cc-kubernetes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setup Command Central on Kubernetes cluster

WORK IN PROGRESS !!!

Use this document to setup Command Central on one of the following Kubernetes environments:

  1. Local Kubernetes cluster provided by Docker for Mac or Windows
  2. Managed EKS cluster on AWS

Running Command Central on local Kubernetes

You need Docker for Mac or Docker for Windows installed on your box. Enable Kubernetes using Docker Preferences.

Verify Kubernetes is running:

$ kubectrl get nodes
NAME                 STATUS    ROLES     AGE       VERSION
docker-for-desktop   Ready     master    2d        v1.10.3

Subscribe to Command Central images on Docker Store

Create Docker Store credentials to allow Kubernetes to pull images from Docker Store:

$ kubectl create secret docker-registry regcred \
    --docker-server=https://index.docker.io/v1/ \
    --docker-username=<your-docker-login> \
    --docker-password=<your-docker-password> \
    --docker-email=<your-docker-email>
secret "regcred" created

Launch Command Central service

Create Command Central deployment and service:

kubectl create -f sag-cc.yaml

Verify deployments:

$ kubectl get deployments
NAME                  DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
cc-deployment         1         1         1            1           7h

Verify services:

$ kubectl get svc
NAME         TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)    AGE
cc           ClusterIP   10.110.71.120   <none>        8091/TCP   7h
kubernetes   ClusterIP   10.96.0.1       <none>        443/TCP    2d

Verify pods:

$ kubectl get pods
NAME                                   READY     STATUS    RESTARTS   AGE
cc-deployment-56f6d448c6-gswcj         1/1       Running   0          7h

Forward the traffic to the Command Central pod:

IMPORTANT: the name of the pod will be different. Use the value from the previous command output!

$ kubectl port-forward cc-deployment-56f6d448c6-gswcj 8091:8091
Forwarding from 127.0.0.1:8091 -> 8091

Open Command Central Web UI and login as Administrator/manage

You have Command Central running on Kubernetes!

Running Command Central on AWS EKS

TODO


These tools are provided as-is and without warranty or support. They do not constitute part of the webMethods product suite. Users are free to use, fork and modify them, subject to the license agreement. While we welcome contributions, we cannot guarantee to include every contribution in the master project.

Contact us at TECHcommunity if you have any questions.

About

Command Central Kubernetes deployments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •