Jenkins deployment to Azure Kubernetes Service

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information: hemi-stg-us-c-pers-aks

Kubernetes version: 1.14.8
Cloud being used: Microsoft Azure
Installation method: Azure Kubernetes Service
Host OS: Ubuntu
CNI and version: not how to get this
CRI and version: not really sure on how to get this

$ kubectl version
Client Version: version.Info{Major:“1”, Minor:“16”, GitVersion:“v1.16.0”,
Server Version: version.Info{Major:“1”, Minor:“14”, GitVersion:“v1.14.8”,

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

we used docker container to create an image and yml code to define the pod specs and service specs.
During the deployment, we encounter this error details below, its happens to all of the pipelines.

  • git clone https://github.optum.com/OGS-OptumRx/cluster-config.git
    Cloning into ‘cluster-config’…
  • cd cluster-config/hemi-stg-us-c-pers-aks
    ++ kubectl --namespace=cloud-api --kubeconfig config get deployments
    Error from server (InternalError): an error on the server (“service unavailable”) has prevented the request from succeeding

please do help.