<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Kubernetes on Miro&#39;s World</title>
    <link>https://miroadamy.com/tags/kubernetes/</link>
    <description>Recent content in Kubernetes on Miro&#39;s World</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>© 2026 Miro Adamy</copyright>
    <lastBuildDate>Tue, 31 Mar 2020 11:24:48 +0800</lastBuildDate><atom:link href="https://miroadamy.com/tags/kubernetes/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>History of Faith</title>
      <link>https://miroadamy.com/posts/2020-03-31-history-of-faith/</link>
      <pubDate>Tue, 31 Mar 2020 11:24:48 +0800</pubDate>
      
      <guid>https://miroadamy.com/posts/2020-03-31-history-of-faith/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;The beginnings&#xA;    &lt;div id=&#34;the-beginnings&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#the-beginnings&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Once upon a time - actually, in late 2017-early 2018 - there was a QA/DevOps engineer named José who liked containers, Docker and worked for a company named Thinkwrap (that soon would become Pivotree) in Valencia, Spain.&lt;/p&gt;&#xA;&lt;p&gt;José was responsible (among other things) for setting up integration and QA environments for multiple Hybris projects. Such environment, when being built in traditional way (from physical servers or VMs), normally requires quite a few pieces:&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Kubectl client and server version mismatch</title>
      <link>https://miroadamy.com/posts/2020-01-19-kubectl-version/</link>
      <pubDate>Sun, 19 Jan 2020 11:12:38 +0800</pubDate>
      
      <guid>https://miroadamy.com/posts/2020-01-19-kubectl-version/</guid>
      <description>&lt;h1 class=&#34;relative group&#34;&gt;Accessing Rancher cluster&#xA;    &lt;div id=&#34;accessing-rancher-cluster&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#accessing-rancher-cluster&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h1&gt;&#xA;&lt;p&gt;I was doing update on Kubernetes cluster I had not touch in a while when I noticed weird behaviour:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;the output of get command was incomplete&lt;/li&gt;&#xA;&lt;li&gt;the -o wide option had no effect on the command output&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;(IP addresses are masked)&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;➜  .kube git:(master) ✗ kubectl --kubeconfig dropship-dev-uat get nodes&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;NAME                                             AGE&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ip-172-xx-xx-xx.ca-central-1.compute.internal    613d&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ip-172-xx-xx-xx.ca-central-1.compute.internal    628d&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ip-172-xx-xx-xx.ca-central-1.compute.internal    558d&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;and&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Rancher CLI vs kubectl</title>
      <link>https://miroadamy.com/posts/2020-01-18-rancher-cli/</link>
      <pubDate>Sat, 18 Jan 2020 11:22:48 +0800</pubDate>
      
      <guid>https://miroadamy.com/posts/2020-01-18-rancher-cli/</guid>
      <description>&lt;h1 class=&#34;relative group&#34;&gt;Accessing Rancher cluster&#xA;    &lt;div id=&#34;accessing-rancher-cluster&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#accessing-rancher-cluster&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h1&gt;&#xA;&lt;p&gt;After creation, you can access the K8s cluster running Rancher by saving the config file available from the console and using standard &lt;code&gt;kubectl&lt;/code&gt; command&lt;/p&gt;&#xA;&lt;p&gt;&lt;figure&gt;&lt;img&#xA;    class=&#34;my-0 rounded-md&#34;&#xA;    loading=&#34;lazy&#34;&#xA;    decoding=&#34;async&#34;&#xA;    fetchpriority=&#34;low&#34;&#xA;    alt=&#34;&#34;&#xA;    src=&#34;https://miroadamy.com/images/rancher-console-1.png&#34;&#xA;    &gt;&lt;/figure&gt;&#xA;&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;kubectl --kubeconfig ./quickstart.kubeconfig get pods --all-namespaces&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;NAMESPACE       NAME                                      READY   STATUS      RESTARTS   AGE&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cattle-system   cattle-cluster-agent-5c98cb979f-bbhxf     1/1     Running     0          5d23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cattle-system   cattle-node-agent-dwnxk                   1/1     Running     0          5d23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;cattle-system   kube-api-auth-d4zgq                       1/1     Running     0          5d23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ingress-nginx   default-http-backend-67cf578fc4-grmsw     1/1     Running     0          5d23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ingress-nginx   nginx-ingress-controller-mpnmb            1/1     Running     0          5d23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;kube-system     canal-jw85q                               2/2     Running     0          5d23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;kube-system     coredns-5c59fd465f-47q5z                  1/1     Running     0          5d23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;kube-system     coredns-autoscaler-d765c8497-sm5xf        1/1     Running     0          5d23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;kube-system     metrics-server-64f6dffb84-bp864           1/1     Running     0          5d23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;kube-system     rke-coredns-addon-deploy-job-95qnk        0/1     Completed   0          5d23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;kube-system     rke-ingress-controller-deploy-job-brv7w   0/1     Completed   0          5d23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;kube-system     rke-metrics-addon-deploy-job-tvt89        0/1     Completed   0          5d23h&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;kube-system     rke-network-plugin-deploy-job-7rqcr       0/1     Completed   0          5d23h&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;The same information (and much more) is available using rancher CLI.&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Creating Kubernetes Cluster in AWS from scratch with kops</title>
      <link>https://miroadamy.com/posts/2018-05-07-k8s-from-scratch-kops/</link>
      <pubDate>Mon, 07 May 2018 11:22:48 +0800</pubDate>
      
      <guid>https://miroadamy.com/posts/2018-05-07-k8s-from-scratch-kops/</guid>
      <description>&lt;p&gt;This describes creation of K8s cluster in AWS environment from scratch as done for microservices based eCommerce project.&lt;/p&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;Pre-requisites&#xA;    &lt;div id=&#34;pre-requisites&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#pre-requisites&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;AWS account access - IAM with Admin privileges&lt;/li&gt;&#xA;&lt;li&gt;AWS CLI installed - &lt;a href=&#34;https://docs.aws.amazon.com/cli/latest/userguide/cli-install-macos.html&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;https://docs.aws.amazon.com/cli/latest/userguide/cli-install-macos.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;CLI credentials (secret key + api Key) - &lt;a href=&#34;https://docs.aws.amazon.com/cli/latest/reference/iam/index.html&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;https://docs.aws.amazon.com/cli/latest/reference/iam/index.html&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;Kubectl and Kops local install&#xA;** see &lt;a href=&#34;https://github.com/kubernetes/kops&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;https://github.com/kubernetes/kops&lt;/a&gt; and &lt;a href=&#34;https://kubernetes.io/docs/tasks/tools/install-kubectl/&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;https://kubernetes.io/docs/tasks/tools/install-kubectl/&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;Test of access&#xA;    &lt;div id=&#34;test-of-access&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#test-of-access&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;➜  etc git:(feature/kubernetes) aws --version&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;aws-cli/1.11.180 Python/3.6.4 Darwin/17.5.0 botocore/1.7.38&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt; &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;➜  etc git:(feature/kubernetes) kubectl version&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Client Version: version.Info{Major:&amp;#34;1&amp;#34;, Minor:&amp;#34;10&amp;#34;, GitVersion:&amp;#34;v1.10.1&amp;#34;, GitCommit:&amp;#34;d4ab47518836c750f9949b9e0d387f20fb92260b&amp;#34;, GitTreeState:&amp;#34;clean&amp;#34;, BuildDate:&amp;#34;2018-04-13T22:27:55Z&amp;#34;, GoVersion:&amp;#34;go1.9.5&amp;#34;, Compiler:&amp;#34;gc&amp;#34;, Platform:&amp;#34;darwin/amd64&amp;#34;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Server Version: version.Info{Major:&amp;#34;1&amp;#34;, Minor:&amp;#34;9&amp;#34;, GitVersion:&amp;#34;v1.9.3&amp;#34;, GitCommit:&amp;#34;d2835416544f298c919e2ead3be3d0864b52323b&amp;#34;, GitTreeState:&amp;#34;clean&amp;#34;, BuildDate:&amp;#34;2018-02-07T11:55:20Z&amp;#34;, GoVersion:&amp;#34;go1.9.2&amp;#34;, Compiler:&amp;#34;gc&amp;#34;, Platform:&amp;#34;linux/amd64&amp;#34;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt; &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;➜  etc git:(feature/kubernetes) kops version&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Version 1.9.0&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt; &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;➜  etc git:(feature/kubernetes) aws --profile twfulfill-miro iam list-users | jq &amp;#39;.Users[].UserName&amp;#39;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;.. DELETED ...&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&amp;#34;twfulfillment.prod.miro.adamy&amp;#34;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;....&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;Set the environment variables&#xA;    &lt;div id=&#34;set-the-environment-variables&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#set-the-environment-variables&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;These will be used by subsequent kops / aws commands&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
