<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Spinnaker – Kubernetes V2 Provider</title>
    <link>/docs/setup/install/providers/kubernetes/</link>
    <description>Recent content in Kubernetes V2 Provider on Spinnaker</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/docs/setup/install/providers/kubernetes/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Docs: Alibaba Cloud Container Service for Kubernetes (ACK) Setup</title>
      <link>/docs/setup/install/providers/kubernetes/ack/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/setup/install/providers/kubernetes/ack/</guid>
      <description>
        
        
        &lt;p&gt;This page describes how to set up a Kubernetes cluster on

&lt;a href=&#34;https://www.alibabacloud.com/product/kubernetes&#34; target=&#34;_blank&#34;&gt;ACK&lt;/a&gt;
 to be used with Spinnaker&amp;rsquo;s
Kubernetes provider.&lt;/p&gt;
&lt;h2 id=&#34;create-a-cluster&#34;&gt;Create a cluster&lt;/h2&gt;
&lt;p&gt;You can create a Kubernetes cluster on ACK using 
&lt;a href=&#34;https://cs.console.aliyun.com&#34; target=&#34;_blank&#34;&gt;console&lt;/a&gt;

as shown in the 
&lt;a href=&#34;https://www.alibabacloud.com/help/doc-detail/86488.htm&#34; target=&#34;_blank&#34;&gt;official documentation&lt;/a&gt;
.
You can also use 
&lt;a href=&#34;https://github.com/aliyun/aliyun-cli&#34; target=&#34;_blank&#34;&gt;Alibaba Cloud CLI&lt;/a&gt;
 or

&lt;a href=&#34;https://www.terraform.io/docs/providers/alicloud/r/cs_kubernetes.html&#34; target=&#34;_blank&#34;&gt;Terraform &lt;/a&gt;
 tools to automate provisioning your clusters.&lt;/p&gt;
&lt;h2 id=&#34;download-kubectl-configuration-file-on-hal-node&#34;&gt;Download kubectl configuration file on hal node&lt;/h2&gt;
&lt;p&gt;Run the following command on the &lt;code&gt;hal&lt;/code&gt; node:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;mkdir &lt;span style=&#34;color:#000&#34;&gt;$HOME&lt;/span&gt;/.kube
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;scp root@&lt;span style=&#34;color:#000&#34;&gt;$MASTER&lt;/span&gt;:/etc/kubernetes/kube.conf &lt;span style=&#34;color:#000&#34;&gt;$HOME&lt;/span&gt;/.kube/config
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;next-steps&#34;&gt;Next Steps&lt;/h2&gt;
&lt;p&gt;
&lt;a href=&#34;/docs/setup/install/providers/kubernetes/#adding-an-account&#34;&gt;Follow the setup instructions for adding a Kubernetes account in
Spinnaker&lt;/a&gt;
.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Set up the Kubernetes provider for Amazon EKS</title>
      <link>/docs/setup/install/providers/kubernetes/aws-eks/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/setup/install/providers/kubernetes/aws-eks/</guid>
      <description>
        
        
        &lt;blockquote&gt;
&lt;p&gt;Before you proceed further with this setup, we strongly recommend that you familiarize yourself
with 
&lt;a href=&#34;https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html&#34; target=&#34;_blank&#34;&gt;Amazon EKS concepts&lt;/a&gt;
.
Also, visit
the 
&lt;a href=&#34;https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/&#34; target=&#34;_blank&#34;&gt;AWS global infrastructure region table&lt;/a&gt;

for the most up-to-date information on Amazon EKS regional availability.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;These instructions assume that you have AWS
CLI 
&lt;a href=&#34;https://docs.aws.amazon.com/cli/latest/userguide/installing.html&#34; target=&#34;_blank&#34;&gt;installed&lt;/a&gt;

and 
&lt;a href=&#34;https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html&#34; target=&#34;_blank&#34;&gt;configured&lt;/a&gt;
 on an Ubuntu machine
running on AWS EC2.&lt;/p&gt;
&lt;h2 id=&#34;preparing-to-install-spinnaker-on-eks&#34;&gt;Preparing to install Spinnaker on EKS&lt;/h2&gt;
&lt;p&gt;The following steps describes how to the tools you need to install and manage Spinnaker and EKS.&lt;/p&gt;
&lt;h3 id=&#34;1-install-and-configure-kubectl&#34;&gt;1. Install and configure kubectl&lt;/h3&gt;
&lt;p&gt;Install &lt;code&gt;kubectl&lt;/code&gt; to manage Kubernetes and &lt;code&gt;aws-iam-authenticator&lt;/code&gt; to manage cluster authentication:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# Download and install kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl

# Verify the installation of kubectl
kubectl help

# Download and install aws-iam-authenticator
curl -o aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.13.7/2019-06-11/bin/linux/amd64/aws-iam-authenticator
chmod +x ./aws-iam-authenticator
mkdir -p $HOME/bin &amp;amp;&amp;amp; cp ./aws-iam-authenticator $HOME/bin/aws-iam-authenticator &amp;amp;&amp;amp; export PATH=$HOME/bin:$PATH
echo &amp;#39;export PATH=$HOME/bin:$PATH&amp;#39; &amp;gt;&amp;gt; ~/.bashrc

#Verify the installation of aws-iam-authenticator
aws-iam-authenticator help
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The commands return the help information for &lt;code&gt;kubectl&lt;/code&gt; and &lt;code&gt;aws-iam-authenticator&lt;/code&gt; respectively. If the help for either
tool does not get returned, verify that you have installed the tool.&lt;/p&gt;
&lt;h3 id=&#34;2-install-awscli&#34;&gt;2. Install awscli&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;# Install the awscli
sudo apt install python-pip awscli

# Verify the installation
aws --version
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The command returns the &lt;code&gt;awscli&lt;/code&gt; version.&lt;/p&gt;
&lt;h3 id=&#34;3-install-eksctl&#34;&gt;3. Install eksctl&lt;/h3&gt;
&lt;p&gt;Install &lt;code&gt;eksctl&lt;/code&gt; to manage EKS clusters from the command line. Current versions
and installation instructions are available here: 
&lt;a href=&#34;https://github.com/eksctl-io/eksctl&#34; target=&#34;_blank&#34;&gt;https://github.com/eksctl-io/eksctl&lt;/a&gt;
&lt;/p&gt;
&lt;h3 id=&#34;4-create-the-amazon-eks-cluster-for-spinnaker&#34;&gt;4. Create the Amazon EKS cluster for Spinnaker&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;eksctl create cluster --name=eks-spinnaker --nodes=2 --region=us-west-2 --write-kubeconfig=false
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;install-and-configure-spinnaker&#34;&gt;Install and configure Spinnaker&lt;/h2&gt;
&lt;p&gt;This section walks you through the process of installing and configuring Spinnaker for use with Amazon EKS.&lt;/p&gt;
&lt;h3 id=&#34;1-retrieve-amazon-eks-cluster-kubectl-contexts&#34;&gt;1. Retrieve Amazon EKS cluster kubectl contexts&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;aws eks update-kubeconfig --name eks-spinnaker --region us-west-2 --alias eks-spinnaker
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;2-add-and-configure-deployment-accounts&#34;&gt;2. Add and configure deployment accounts&lt;/h3&gt;
&lt;p&gt;See 
&lt;a href=&#34;https://spinnaker.io/docs/setup/install/providers/&#34; target=&#34;_blank&#34;&gt;https://spinnaker.io/docs/setup/install/providers/&lt;/a&gt;
 for instructions&lt;/p&gt;
&lt;h3 id=&#34;3-enable-artifact-support&#34;&gt;3. Enable artifact support&lt;/h3&gt;
&lt;p&gt;
&lt;a href=&#34;../../../other_config/artifacts&#34;&gt;Add artifacts&lt;/a&gt;
 which allow loading from a git repository to do helm/kustomize bakes,
fetching a single manifest file from git APIs or other resources used for deployments&lt;/p&gt;
&lt;h3 id=&#34;4-deploy-spinnaker&#34;&gt;4. Deploy spinnaker&lt;/h3&gt;
&lt;p&gt;See the 
&lt;a href=&#34;../../environment/&#34;&gt;instructions&lt;/a&gt;
 around a kubernetes installation
using kustomize&lt;/p&gt;
&lt;h3 id=&#34;5-verify-the-spinnaker-installation&#34;&gt;5. Verify the Spinnaker installation&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;kubectl -n spinnaker get svc
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The command returns the Spinnaker services that are in the &lt;code&gt;spinnaker&lt;/code&gt; namespace.&lt;/p&gt;
&lt;h3 id=&#34;9-expose-spinnaker-using-elastic-load-balancer&#34;&gt;9. Expose Spinnaker using Elastic Load Balancer&lt;/h3&gt;
&lt;p&gt;Expose the Spinnaker API (Gate) and the Spinnaker UI (Deck) using Load Balancers by running the following commands to
create the &lt;code&gt;spin-gate-public&lt;/code&gt; and &lt;code&gt;spin-deck-public services&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;export NAMESPACE=spinnaker
# Expose Gate and Deck
kubectl -n ${NAMESPACE} expose service spin-gate --type LoadBalancer \
  --port 80 --target-port 8084 --name spin-gate-public

kubectl -n ${NAMESPACE} expose service spin-deck --type LoadBalancer \
  --port 80 --target-port 9000 --name spin-deck-public

export API_URL=$(kubectl -n $NAMESPACE get svc spin-gate-public \
 -o jsonpath=&amp;#39;{.status.loadBalancer.ingress[0].hostname}&amp;#39;)

export UI_URL=$(kubectl -n $NAMESPACE get svc spin-deck-public \
 -o jsonpath=&amp;#39;{.status.loadBalancer.ingress[0].hostname}&amp;#39;)
&lt;/code&gt;&lt;/pre&gt;&lt;h1 id=&#34;configure-the-url-for-gate-in-deck-by-adding-an-entry-in-settings-localjs&#34;&gt;Configure the URL for Gate in deck by adding an entry in settings-local.js&lt;/h1&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-javascript&#34; data-lang=&#34;javascript&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87&#34;&gt;window&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;settings&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;.&lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;gateUrl&lt;/span&gt; &lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#4e9a06&#34;&gt;&amp;#39;https://spinnaker.example.com:8084&amp;#39;&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id=&#34;configure-the-url-for-deck-in-gate-localyml&#34;&gt;Configure the URL for Deck in gate-local.yml:&lt;/h1&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;services&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;  &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;deck&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;    &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;baseUrl&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;http://spinnaker.example.com:9000&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id=&#34;apply-your-changes-to-spinnaker&#34;&gt;Apply your changes to Spinnaker&lt;/h1&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kubectl kustomize -o spinnaker.yaml
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kubectl apply -f spinnaker.yaml
&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kubectl -n spinnaker get pods
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;10-re-verify-the-spinnaker-installation&#34;&gt;10. Re-verify the Spinnaker installation&lt;/h3&gt;
&lt;p&gt;Run the following command to verify that the Spinnaker services are present in the cluster:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;kubectl -n spinnaker get svc
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;11-log-in-to-spinnaker-console&#34;&gt;11. Log in to Spinnaker console&lt;/h3&gt;
&lt;p&gt;Get the URL to Deck, the UI.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;kubectl -n $NAMESPACE get svc spin-deck-public -o jsonpath=&amp;#39;{.status.loadBalancer.ingress[0].hostname}&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Point this to the URL OR adjust the gate URls to use the above hostnames. Navigate to the URL in a supported browser and log in.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Google Kubernetes Engine (GKE) Setup</title>
      <link>/docs/setup/install/providers/kubernetes/gke/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/setup/install/providers/kubernetes/gke/</guid>
      <description>
        
        
        &lt;p&gt;This page describes how to set up a Kubernetes cluster on

&lt;a href=&#34;https://cloud.google.com/kubernetes-engine/&#34; target=&#34;_blank&#34;&gt;GKE&lt;/a&gt;
 to be used with Spinnaker&amp;rsquo;s
Kubernetes provider. The process is very simple, but you need to do some
specific things to allow Spinnaker to authenticate against your cluster.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Note: To manage and create clusters in a given project, you need the
&lt;code&gt;roles/container.admin&lt;/code&gt; role as described

&lt;a href=&#34;https://cloud.google.com/kubernetes-engine/docs/how-to/iam#predefined&#34; target=&#34;_blank&#34;&gt;here&lt;/a&gt;
.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&#34;create-a-cluster&#34;&gt;Create a cluster&lt;/h2&gt;
&lt;p&gt;If you don&amp;rsquo;t already have a cluster for this purpose, you can create a
Kubernetes cluster on GKE using either

&lt;a href=&#34;https://cloud.google.com/sdk/gcloud/&#34; target=&#34;_blank&#34;&gt;gcloud&lt;/a&gt;
 or the 
&lt;a href=&#34;https://console.cloud.google.com/&#34; target=&#34;_blank&#34;&gt;the Cloud
Console&lt;/a&gt;
 as shown in the 
&lt;a href=&#34;https://cloud.google.com/kubernetes-engine/docs/how-to/creating-a-cluster#creating_a_cluster&#34; target=&#34;_blank&#34;&gt;official
documentation&lt;/a&gt;
.
Third party tools like

&lt;a href=&#34;https://www.terraform.io/docs/providers/google/r/container_cluster.html&#34; target=&#34;_blank&#34;&gt;Terraform&lt;/a&gt;

work too, and can be used to automate provisioning your clusters.&lt;/p&gt;
&lt;h2 id=&#34;download-credentials&#34;&gt;Download credentials&lt;/h2&gt;
&lt;p&gt;Follow the instructions shown in 
&lt;a href=&#34;https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#generate_kubeconfig_entry&#34; target=&#34;_blank&#34;&gt;the official
documentation&lt;/a&gt;

to download credentials.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Warning!&lt;/strong&gt; The credentials you&amp;rsquo;ve downloaded probably rely on calling
&lt;code&gt;gcloud&lt;/code&gt; to generate a token and authenticate against your cluster. This means
that the user (e.g. &lt;code&gt;a.employee@example.org&lt;/code&gt;) you&amp;rsquo;ve configured &lt;code&gt;gcloud&lt;/code&gt; to
authenticate as is making requests against the cluster, instead of a fixed

&lt;a href=&#34;https://kubernetes.io/docs/reference/access-authn-authz/service-accounts-admin/&#34; target=&#34;_blank&#34;&gt;Kubernetes service
account&lt;/a&gt;

making these requests.&lt;/p&gt;
&lt;p&gt;This is a good thing because it prevents authenticating from a different
machine that hasn&amp;rsquo;t already authenticated with &lt;code&gt;gcloud&lt;/code&gt;. But it also
complicates configuring Spinnaker because each machine running Spinnaker needs
its own service account. &lt;code&gt;gcloud&lt;/code&gt; checks the permissions of that service
account in order to generate an authentication token.&lt;/p&gt;
&lt;p&gt;Given that all pods on GKE share the same service account, granting Spinnaker
on GKE permission also grants permission to all pods running alongside
Spinnaker. For this reason, we recommend configuring a 
&lt;a href=&#34;/docs/setup/install/providers/kubernetes/#optional-create-a-kubernetes-service-account&#34;&gt;Kubernetes service
account&lt;/a&gt;

for Spinnaker to authenticate as.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; Use the credentials you&amp;rsquo;ve downloaded to create a 
&lt;a href=&#34;/docs/setup/install/providers/kubernetes/#optional-create-a-kubernetes-service-account&#34;&gt;Kubernetes service
account&lt;/a&gt;

for Spinnaker to authenticate as.&lt;/p&gt;
&lt;h2 id=&#34;next-steps&#34;&gt;Next steps&lt;/h2&gt;
&lt;p&gt;
&lt;a href=&#34;/docs/setup/install/providers/kubernetes/#adding-an-account&#34;&gt;Follow the setup instructions for adding a Kubernetes account in
Spinnaker&lt;/a&gt;
.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Docs: Oracle Cloud Infrastructure Container Engine for Kubernetes (OKE) Setup</title>
      <link>/docs/setup/install/providers/kubernetes/oke/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/docs/setup/install/providers/kubernetes/oke/</guid>
      <description>
        
        
        &lt;p&gt;This page describes how to set up a Kubernetes cluster on

&lt;a href=&#34;https://cloud.oracle.com/containers/kubernetes-engine/&#34; target=&#34;_blank&#34;&gt;OKE&lt;/a&gt;
 to be used with Spinnaker&amp;rsquo;s
Kubernetes provider.&lt;/p&gt;
&lt;h2 id=&#34;create-a-cluster&#34;&gt;Create a cluster&lt;/h2&gt;
&lt;p&gt;If you don&amp;rsquo;t already have a cluster for this purpose, you can create a
Kubernetes cluster on OKE by following 
&lt;a href=&#34;https://www.oracle.com/webfolder/technetwork/tutorials/obe/oci/oke-full/index.html&#34; target=&#34;_blank&#34;&gt;this tutorial&lt;/a&gt;
.&lt;/p&gt;
&lt;h2 id=&#34;download-kubectl-configuration-file&#34;&gt;Download kubectl configuration file&lt;/h2&gt;
&lt;p&gt;Follow 
&lt;a href=&#34;https://www.oracle.com/webfolder/technetwork/tutorials/obe/oci/oke-full/index.html#DownloadthekubeconfigFilefortheCluster&#34; target=&#34;_blank&#34;&gt;the instructions&lt;/a&gt;

to download kubectl configuration file.&lt;/p&gt;
&lt;h2 id=&#34;store-the-config-file-in-a-secret-that-spinnaker-can-reference&#34;&gt;Store the config file in a secret that spinnaker can reference&lt;/h2&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;kubectl create secret generic my-secret --from-file&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;kubeconfig-my-account&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;./kubeconfig
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For additional entries you may need to determine an alternative strategy or use
an 
&lt;a href=&#34;/docs/reference/secrets/&#34;&gt;external secrets manager&lt;/a&gt;
 instead of directly mounting secrets onto pods.&lt;/p&gt;
&lt;h2 id=&#34;enable-kubernetes-cloud-provider&#34;&gt;Enable Kubernetes Cloud provider&lt;/h2&gt;
&lt;p&gt;Like any other kubernetes account, add the configuration to &lt;code&gt;clouddriver-local.yml&lt;/code&gt;&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;kubernetes&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;  &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;enabled&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;true&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;  &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;accounts&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;    &lt;/span&gt;- &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;name&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;my-k8s-acct&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;      &lt;/span&gt;&lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;kubeconfig&lt;/span&gt;&lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;:&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt; &lt;/span&gt;&lt;span style=&#34;color:#000&#34;&gt;/mnt/kubeconfigs/kubeconfig-my-accoun&lt;/span&gt;&lt;span style=&#34;color:#f8f8f8;text-decoration:underline&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Finally, enable 
&lt;a href=&#34;/docs/reference/artifacts/#enabling-artifact-support&#34;&gt;artifact support&lt;/a&gt;
.&lt;/p&gt;

      </description>
    </item>
    
  </channel>
</rss>
