<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Michael Francis on Medium]]></title>
        <description><![CDATA[Stories by Michael Francis on Medium]]></description>
        <link>https://medium.com/@edude03?source=rss-76d90c2c1c3b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tcuZAYd39IkqxoXejFv0Uw.jpeg</url>
            <title>Stories by Michael Francis on Medium</title>
            <link>https://medium.com/@edude03?source=rss-76d90c2c1c3b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 00:31:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@edude03/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What I learned about socializing by leaving everything I knew and moving to another country]]></title>
            <link>https://medium.com/@edude03/what-i-learned-about-socializing-by-leaving-everything-i-knew-and-moving-to-another-country-e29bd617b418?source=rss-76d90c2c1c3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/e29bd617b418</guid>
            <category><![CDATA[nomad-stories]]></category>
            <category><![CDATA[socializing]]></category>
            <category><![CDATA[relationships]]></category>
            <dc:creator><![CDATA[Michael Francis]]></dc:creator>
            <pubDate>Tue, 24 Nov 2020 01:06:50 GMT</pubDate>
            <atom:updated>2020-11-24T01:06:50.963Z</atom:updated>
            <content:encoded><![CDATA[<p>My Ex was always the life of the party. She has a gift for making people feel understood and interesting and she’s always laughing. Back three years ago when we were together though, I definitely was not.</p><p>Probably the biggest challenge in our relationship was that she wanted to go out with friends and I wanted to stay home. If she did manage to drag me out, I’d often stand in a corner complaining I was going to miss Jeopardy!¹</p><p>It got to the point where she asked me to consider looking for a program for autistic people to learn social skills because apparently, I had none (which definitely put a ding in my self-confidence)</p><p>Yesterday, however, something weird happened. I was wrapping up my third or fourth going away party of the week, and as my guests stumbled out of my cramped apartment, smiling ear to ear, slightly tipsy at 3am, one of them said to me, “I had a great time Michael, thanks for having me, you’re the life of the party.”</p><p>After reading the intro, you may be as shocked to read that as I was to hear it. After reflecting on the past three years, I realized that I really have grown and changed as a person, which prompted me to write this as something of a letter to my former self, and to anyone in a similar situation who needs the reassurance to keep going.</p><h3>You get what you give</h3><p>I remember how hurt I was when one time, on Monday morning my team was laughing and joking about a party that had taken place over the weekend at a coworkers place that I had evidently not been invited to.</p><p>I remember thinking — ”wow, see, this is proof that no one likes me and I don’t have any friends, “ which I’m sure contributed to me being … more reserved at work.</p><p>Fast forward, and I’m the new guy at a new job in a new country where the only person I know is the lady from HR that had been making sure I got all my documents filled in and submitted in time.</p><p>I can’t remember exactly how long I had been in the country at that point, but I do remember hearing at lunchtime that a bunch of people on my team had gone out to an event and had a great time, and again, I was not invited. At first, I thought, wow I just arrived and people already don’t like me, but in a moment of positive self-affirmation, I told myself, “but they don’t know anything about you to decide if they like or don’t like you — you don’t even know if you like or don’t like them!”</p><p>So I decided, I’m going to pick off a few people that seem approachable and ask them for coffee/a beer/lunch and just chat and see how it goes.</p><p>And you know what, most people were really receptive to it. Sure, not everyone I talked to I had an instant connection with, and in fact, there were some awkward moments. For example, when I had asked a girl in the office out for coffee and she assumed I meant to ask her out in a romantic way (which, was of course not my intention).</p><p>However, I learned a lot about people in the office, and we shared a lot more of the deeper conversations that most people don’t have openly in large groups of people. I learned that some people saw a therapist (I did as well), I learned about people’s families, I learned about opportunities to hang out with people. I learned about the hobbies that people had that I would have never expected.</p><p>The quiet woman in Finance? Turns out she plays the drums and makes passion fruit ice cream from a plant growing on her balcony.</p><p>That guy in legal? He loves dinosaurs. That woman in compliance? She goes motorcycle racing with her husband on the weekends. That guy? He runs a worldwide gaming club. That guy? He builds quadcopters.</p><p>And I took those opportunities, to try new hobbies and meet new people; I made friends with the friends of the people who I had picked off to chat with, and eventually had my stable group of friends who I’d regularly hang out with, and I knew cared for me and would have my back.</p><p>And this is just a long way to say, that had I not “given” anything — had I just sat back and expected people to invite me to things, and to befriend me, I’d still be alone.</p><h3>A little office gossip is good</h3><p>I used to be staunchly against office gossip² because I felt like it was unprofessional and really I didn’t want to be involved with what felt like “high school antics” at the time. Even in writing that I cringe a little because even to me it comes off as a bit judgmental and now I feel like it’s a bit short-sighted.</p><p>Reflecting back on why I felt “othered” by my coworkers, I recall times where I would find out about an open secret that “everyone knew”. In fact, of course, I did not know about these “open secrets” because when someone was like “Oh did you hear ” — I didn’t want to hear it. And as expected, I always felt like the odd man out when, for example coworker x and y were going on their honeymoon for a week when I didn’t even know they were a couple or when coworker z was quiet because their dog passed, or when coworker a and b weren’t talking because of a meeting that had gone wrong earlier in the week etc.</p><p>And not only was this bad for my own mental health / “social standing” but I felt it led to unnecessary “faux pas” in my life when for example I’d schedule a meeting with two fighting coworkers but then couldn’t figure out why it was so hard to work together, or when I offered a super sweet treat to a coworker who was diabetic.</p><p>So, I’ve opened my ear a little to a bit of office gossip and I’d be lying if I said I didn’t spread it (non maliciously of course) and so far, I feel like it has made me more sociable.</p><h3>Openness is a great filter</h3><p>There are some people in life that just aren’t destined to become your best friend and that’s OK. On the other hand, how do you know if someone is going to be an acquaintance or a best friend? I found that opening up a little at a time is a great way to do so. Now, this probably sounds obvious, but let’s face it, telling your secrets to strangers is a harrowing idea, especially strangers that you might see everyday (in the case of making friends with coworkers).</p><p>And while I admit it is scary, I’ve learned the payoff is worth it. Essentially, if you find something about yourself that is sensitive enough that you wouldn’t tell just anyone, but mundane enough that it wouldn’t ruin your reputation if it got out you can easily judge the direction of the relationship by how they respond. For example, if they run and spread that information as fast as the wind will take them, then yeah, no, definitely not a friend of yours, if they respond with empathy and similar levels of openness, then you’re on your way to a great friendship.</p><h3>In conclusion</h3><p>What I’ve learned about socializing is that most of the time, you’ll get in your own way, you’ll overthink and you’ll allow preconceived notions to prevent you from making the connections you really want to make. At the end of the day, quite obviously, the best thing to do is to just get out there and talk to people and to not take rejections too hard.</p><p>Of course, forcing yourself into an uncomfortable situation like moving to another country is a great way to force this growth, and if you’re ever offered the opportunity you should take it.</p><p>If you’ve found this reflection useful and want to read more, there is more I could say on the matter. For now however, I’ll leave it here, and hope that this helps at least one person. Otherwise, look forward to more content on Kubernetes, Consulting and general musings about the tech industry.</p><p>[1]: The joke being that “old” people are known to fall asleep to Jeopardy when it’s on at 7:30pm</p><p>[2]: My definition of gossip here is sharing information about another person without them present, though someone who read an early draft</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e29bd617b418" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The How and Why Behind Tiller-less Helm]]></title>
            <link>https://medium.com/tenx-wallet/the-how-and-why-behind-tiller-less-helm-340a071d51c8?source=rss-76d90c2c1c3b------2</link>
            <guid isPermaLink="false">https://medium.com/p/340a071d51c8</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[helm]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Michael Francis]]></dc:creator>
            <pubDate>Tue, 18 Dec 2018 08:38:12 GMT</pubDate>
            <atom:updated>2018-12-19T06:09:29.528Z</atom:updated>
            <content:encoded><![CDATA[<p>If you use Kubernetes, you’ve probably heard of “Helm” the Kubernetes package manager by now. Helm is very useful for installing packages on a Kubernetes cluster quickly as well as extras such as tracking releases to offer easy rollback. Unfortunately, Helm has an Achilles heel if you want to use it in a shared cluster, that is, its server-side component called “Tiller”. Tiller is a service that essentially accepts manifests from Helm and executes them on the user&#39;s behalf.</p><p>Having a server-side component is useful because it allows for tasks to be executed asynchronously, for example, you can deploy a chart that uses helm hooks from your laptop, and the hooks can execute even if your laptop is closed or disconnected.</p><p>With the default configuration of Tiller, however, it is configured such that Tiller is the cluster administrator, and that anyone with access to the cluster can ask Tiller to do things on their behalf. So, even though an engineer may only have access to staging, they can run a helm delete production, and Tiller willingly executes it on their behalf. For more details, check out this <a href="https://rimusz.net/tillerless-helm/">article</a>. So, how do we fix this?</p><h3>Step one, set up a local Tiller instance</h3><p>Like that article says, Helm can run in “Tiller-less” mode, which instead of having a shared, cluster-wide Tiller service that runs as cluster admin, you can have a local Tiller that runs using your credentials!</p><p>Here at TenX, we use <a href="https://gist.github.com/concourse-ci.org">Concourse CI</a> for our CI system, and subsequently, use the <a href="https://github.com/linkyard/concourse-helm-resource">concourse-helm-resource</a> to perform deployments. Since the default image doesn’t use helm, we made some changes that we hope will be accepted. With the first hurdle out of the way, the next problem was the CI didn’t have an account of its own to connect to GCP, so onto the next step</p><h3>Step two, setup RBAC for CI</h3><p>Since we use Google Kubernetes Engine to deploy our services, step two was a tad more complicated. As a recap, GKE and Kubernetes both have the concept of Service Accounts, Role Bindings, and Users. So the first thing to do was to create a concourse GKE service account, with developer permissions. Aside, I recently discovered a tool called <a href="https://github.com/reactiveops/rbac-lookup">rbac-lookup</a> that made debugging and verifying the setup much more comfortable. On GKE, Kubernetes RBAC rules are the union of your GKE service account rules and your Kubernetes RBAC rules, so for example if your service account has Cluster Admin privileges you can grant yourself whatever privileges you&#39;d like on the cluster. Using rbac-lookup, you can see the combination of GKE and Kubernetes RBAC rules and confirm the rules are correct.</p><p>After creating the IAM account, your permissions should look like this:</p><pre>rbac-lookup <a href="/service/mailto:concourseci@tenx.iam.gserviceaccount.com">concourseci@tenx.iam.gserviceaccount.com</a> - gke<br>SUBJECT SCOPE ROLE<br><a href="/service/mailto:concourseci@tenx.iam.gserviceaccount.com">concourseci@tenx.iam.gserviceaccount.com</a> project-wide IAM/gke-cluster-admin</pre><p>Then, we could bind the GKE service account to a Kubernetes ServiceAccount using kubectl create clusterrolebinding &lt;role-binding-name&gt; - clusterrole cluster-admin - user &lt;gke-service-account-name&gt; After creating the service account, the permissions should look like this:</p><pre>rbac-lookup <a href="/service/mailto:concourseci@tenx-production.iam.gserviceaccount.com">concourseci@tenx.iam.gserviceaccount.com</a> - gke<br>SUBJECT SCOPE ROLE<br><a href="/service/mailto:concourseci@tenx-production.iam.gserviceaccount.com">concourseci@tenx.iam.gserviceaccount.com</a> cluster-wide ClusterRole/cluster-admin<br><a href="/service/mailto:concourseci@tenx-production.iam.gserviceaccount.com">concourseci@tenx.iam.gserviceaccount.com</a> project-wide IAM/gke-cluster-admin</pre><h3>Step three, take it for a spin</h3><p>With that completed, you can use the service account like a developer would:</p><pre>$ rbac-lookup <a href="/service/mailto:concourseci@tenx-production.iam.gserviceaccount.com">concourseci@tenx-production.iam.gserviceaccount.com</a> - gke<br>SUBJECT SCOPE ROLE<br><a href="/service/mailto:concourseci@tenx-production.iam.gserviceaccount.com">concourseci@tenx-production.iam.gserviceaccount.com</a> cluster-wide ClusterRole/cluster-admin<br><a href="/service/mailto:concourseci@tenx-production.iam.gserviceaccount.com">concourseci@tenx-production.iam.gserviceaccount.com</a> project-wide IAM/gke-cluster-admin</pre><p>In our case we tested it, and it worked as expected. Hurray.</p><h3>Step four, performing the migration</h3><p>If you installed Tiller the default way described in the article, you’ll need to perform an extra step before switching to “Tiller-less Helm”. The default is to store release information in ConfigMaps whereas the recommend configuration for production is to use Secrets Fortunately, I found a tool that can do the conversion for you, aptly named <a href="https://github.com/dragonsmith/tiller-releases-converter">tiller-releases-converter</a> which performs the migration for you in two lines:</p><pre>tiller-releases-converter convert<br>tiller-releases-converter cleanup</pre><p>Then finally, switch over your deploy pipeline to use the new Tiller-less Helm, and remove Tiller from the cluster.</p><h3>Step five, get a usable token</h3><p>It’s important to note that you still need to “login” to get a JWT token that can be used to make requests. The correct thing to do would be to use vault to generate the JWT token on demand, but as we were under time pressure to get this migration done, we opted to use Concourse to fetch a new token automatically every 14 minutes such that jobs requesting the token would work (ignoring the race condition where a job requests a token at the 14 minute mark and takes longer than 1 minute to use it).</p><p>For that we came up with a pipeline like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cec57d7b14aba7b3a9d586541d956ff9/href">https://medium.com/media/cec57d7b14aba7b3a9d586541d956ff9/href</a></iframe><h3>You’re done</h3><p>With that out of the way, we now can remove Tiller from the cluster, and we have much better security and auditing than we did just a few short hours ago.</p><p>I hope you enjoyed this look behind the scenes at what goes on in the DevOps team at TenX. If you’re interested in this sort of stuff and are interested in learning more, or better yet want to join us, drop me a line on twitter @edude03 or via email <a href="/service/mailto:michael.francis@tenx.tech">michael.francis@tenx.tech</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=340a071d51c8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tenx-wallet/the-how-and-why-behind-tiller-less-helm-340a071d51c8">The How and Why Behind Tiller-less Helm</a> was originally published in <a href="https://medium.com/tenx-wallet">Official TenX Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>