<?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 Jorge Castro on Medium]]></title>
        <description><![CDATA[Stories by Jorge Castro on Medium]]></description>
        <link>https://medium.com/@jcastro1975?source=rss-4bb1d36b0110------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*X73Zac7ykkMy5dy-O2-Mtw.jpeg</url>
            <title>Stories by Jorge Castro on Medium</title>
            <link>https://medium.com/@jcastro1975?source=rss-4bb1d36b0110------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 02:09:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jcastro1975/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[Upgrading to Kubernetes 1.8 with Kubeadm]]></title>
            <link>https://medium.com/heptio-blog/upgrading-to-kubernetes-1-8-with-kubeadm-797091ad2f9f?source=rss-4bb1d36b0110------2</link>
            <guid isPermaLink="false">https://medium.com/p/797091ad2f9f</guid>
            <category><![CDATA[heptio]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[kubeadm]]></category>
            <dc:creator><![CDATA[Jorge Castro]]></dc:creator>
            <pubDate>Tue, 17 Oct 2017 20:05:02 GMT</pubDate>
            <atom:updated>2017-10-17T20:05:02.011Z</atom:updated>
            <content:encoded><![CDATA[<p>Kubeadm is the tool that ships with Kubernetes to manage your cluster’s lifecycle; it’s designed to be used any time you need to do something significant to your cluster. Kubeadm 1.8 brings new features to the table, and we recommend checking out the <a href="https://github.com/kubernetes/kubeadm">the repository</a> for all the latest development.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_EG_fB3BumT1D676." /><figcaption>Michael L. Baird, <a href="https://www.flickr.com/photos/mikebaird/5698374350">flickr.bairdphotos.com</a></figcaption></figure><p>Today we’ll look at one of kubeadm’s most crucial functions: upgrading your cluster to a new release of Kubernetes. There are many moving parts here; not only do you have to upgrade the Kubernetes control plane components, but also the actual packages that run on the operating system itself. This blog post heavily references the <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubeadm-upgrade-1-8/">kubeadm documentation</a>, so you’re going to want to become familiar with that page. We’re going to break this down into three major steps.</p><p>We’re using a two node cluster, hyperion as a master node, and dahl as a worker node. Both are running on Ubuntu 16.04.3. The <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubeadm-upgrade-1-8/">documentation</a> has examples for RPM based distributions.</p><ul><li>Step 1: We’ll get the latest version of kubeadm from upstream</li><li>Step 2: We’ll upgrade the control plane</li><li>Step 3: We’ll then use the operating system’s packages to update the things that run the kubernetes Components</li></ul><p>We cannot stress enough the importance of checking <a href="https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG.md#before-upgrading">the release notes</a> before upgrading. For example, kubelets will no longer run out-of-the-box with systems with swap enabled, so you can either follow the notes in the instructions, or in our case, issue swapoff -a on our nodes.</p><p>These steps need to be done in order to ensure a safe upgrade! First things first, let’s get kubeadm and start on hyperion, our master node.</p><h3>Step 1: Get the latest Kubeadm</h3><p>The <a href="https://kubernetes.io/docs/tasks/administer-cluster/kubeadm-upgrade-1-8/">documentation</a> has the instructions for getting the kubeadm binary. It is IMPORTANT that we grab the binary from upstream, and not the package in the kubernetes repository.</p><blockquote>Upgrading the operating system packages is the last step, do NOT just execute an apt dist-upgrade to get a newer kubeadm package, you will inadvertently upgrade the kubelet packages before the control plane has been upgraded!</blockquote><p>A newer version of the control plane can manage older versions of kubelets, but this doesn’t work the other way around. This is why we&#39;re grabbing the binary directly from upstream, so that we can upgrade the control plane FIRST, and <em>then</em> we use the package manager.</p><pre>root@hyperion:~# export VERSION=$(curl -sSL https://dl.k8s.io/release/stable.txt) <br>root@hyperion:~# export ARCH=amd64 <br>root@hyperion:~# curl -sSL https://dl.k8s.io/release/${VERSION}/bin/linux/${ARCH}/kubeadm &gt; /usr/bin/kubeadm<br>root@hyperion:~# chmod a+rx /usr/bin/kubeadm</pre><p>In order to preserve the configuration that kubeadm will write for future upgrades we need to preserve these. Note that for below you will need to remember what CLI arguments you passed to kubeadm init the first time.</p><p>If you used flags:</p><pre>root@hyperion# kubeadm config upload from-flags [flags]</pre><p>Where <strong>flags</strong> can be empty. If you used a config file:</p><pre>root@hyperion# kubeadm config upload from-file --config [config]</pre><p>Where the config is mandatory.</p><h3>Step 2: Upgrade the Control Plane</h3><p>First become root and then we’ll run the kubeadm upgrade plan command to see what kubeadm observes as the state of the cluster:</p><pre>root@hyperion:~# kubeadm upgrade plan<br>[preflight] Running pre-flight checks<br>[upgrade] Making sure the cluster is healthy:<br>[upgrade/health] Checking API Server health: Healthy<br>[upgrade/health] Checking Node health: All Nodes are healthy<br>[upgrade/health] Checking Static Pod manifests exists on disk: All manifests exist on disk<br>[upgrade/config] Making sure the configuration is correct:<br>[upgrade/config] Reading configuration from the cluster…<br>[upgrade/config] FYI: You can look at this config file with ‘kubectl -n kube-system get cm kubeadm-config -oyaml’<br>[upgrade] Fetching available versions to upgrade to:<br>[upgrade/versions] Cluster version: v1.7.6<br>[upgrade/versions] kubeadm version: v1.8.0<br>[upgrade/versions] Latest stable version: v1.8.0<br>[upgrade/versions] Latest version in the v1.7 series: v1.7.7</pre><pre>Components that must be upgraded manually after you’ve upgraded the control plane with ‘kubeadm upgrade apply’:<br>COMPONENT    CURRENT      AVAILABLE<br>Kubelet      2 x v1.7.5   v1.7.7</pre><pre>Upgrade to the latest version in the v1.7 series:</pre><pre>COMPONENT          CURRENT  AVAILABLE<br>API Server         v1.7.6   v1.7.7<br>Controller Manager v1.7.6   v1.7.7<br>Scheduler          v1.7.6   v1.7.7<br>Kube Proxy         v1.7.6   v1.7.7<br>Kube DNS           1.14.5   v1.14.5</pre><pre>You can now apply the upgrade by executing the following command:</pre><pre>kubeadm upgrade apply v1.7.7</pre><pre>________________________________________________________________</pre><pre>Components that must be upgraded manually after you’ve upgraded the control plane with ‘kubeadm upgrade apply’:<br>COMPONENT     CURRENT      AVAILABLE<br>Kubelet       2 x v1.7.5   v1.8.0</pre><pre>Upgrade to the latest stable version:</pre><pre>COMPONENT          CURRENT  AVAILABLE<br>API Server         v1.7.6   v1.8.0<br>Controller Manager v1.7.6   v1.8.0<br>Scheduler          v1.7.6   v1.8.0<br>Kube Proxy         v1.7.6   v1.8.0<br>Kube DNS           1.14.5   1.14.5</pre><pre>You can now apply the upgrade by executing the following command:</pre><pre>kubeadm upgrade apply v1.8.0</pre><p>Ok, so what this tells us is that we’re on Kubernetes 1.7.6, and that we have the option of moving to 1.7.7, or to 1.8.0. Depending on the needs of this particular cluster I may choose to skip the 1.7.7 release entirely, or move to it first, then to 1.8.0.</p><blockquote>Like all major software upgrades, <em>especially in the case of complex distributed clusters</em>, you should ensure that your team has a well formed plan on when to do upgrades, and adjust your workloads accordingly.</blockquote><p>Let’s let errr rip!</p><pre>root@hyperion:~# kubeadm upgrade apply v1.8.0<br>[preflight] Running pre-flight checks<br>[upgrade] Making sure the cluster is healthy:<br>[upgrade/health] Checking API Server health: Healthy<br>[upgrade/health] Checking Node health: All Nodes are healthy<br>[upgrade/health] Checking Static Pod manifests exists on disk: All manifests exist on disk<br>[upgrade/config] Making sure the configuration is correct:<br>[upgrade/config] Reading configuration from the cluster...<br>[upgrade/config] FYI: You can look at this config file with &#39;kubectl -n kube-system get cm kubeadm-config -oyaml&#39;<br>[upgrade/version] You have chosen to upgrade to version &quot;v1.8.0&quot;<br>[upgrade/versions] Cluster version: v1.7.7<br>[upgrade/versions] kubeadm version: v1.8.0<br>[upgrade/confirm] Are you sure you want to proceed with the upgrade? [y/N]: y<br>[upgrade/prepull] Will prepull images for components [kube-apiserver kube-controller-manager kube-scheduler]<br>[upgrade/prepull] Prepulling image for component kube-scheduler.<br>[upgrade/prepull] Prepulling image for component kube-apiserver.<br>[upgrade/prepull] Prepulling image for component kube-controller-manager.<br>[apiclient] Found 1 Pods for label selector k8s-app=upgrade-prepull-kube-apiserver<br>[apiclient] Found 0 Pods for label selector k8s-app=upgrade-prepull-kube-controller-manager<br>[apiclient] Found 1 Pods for label selector k8s-app=upgrade-prepull-kube-controller-manager<br>[apiclient] Found 0 Pods for label selector k8s-app=upgrade-prepull-kube-scheduler<br>[apiclient] Found 1 Pods for label selector k8s-app=upgrade-prepull-kube-scheduler<br>[upgrade/prepull] Prepulled image for component kube-apiserver.<br>[upgrade/prepull] Prepulled image for component kube-scheduler.<br>[upgrade/prepull] Prepulled image for component kube-controller-manager.<br>[upgrade/prepull] Successfully prepulled the images for all the control plane components<br>[upgrade/apply] Upgrading your Static Pod-hosted control plane to version &quot;v1.8.0&quot;...<br>[upgrade/staticpods] Writing upgraded Static Pod manifests to &quot;/etc/kubernetes/tmp/kubeadm-upgraded-manifests978964380&quot;<br>[controlplane] Wrote Static Pod manifest for component kube-apiserver to &quot;/etc/kubernetes/tmp/kubeadm-upgraded-manifests978964380/kube-apiserver.yaml&quot;<br>[controlplane] Wrote Static Pod manifest for component kube-controller-manager to &quot;/etc/kubernetes/tmp/kubeadm-upgraded-manifests978964380/kube-controller-manager.yaml&quot;<br>[controlplane] Wrote Static Pod manifest for component kube-scheduler to &quot;/etc/kubernetes/tmp/kubeadm-upgraded-manifests978964380/kube-scheduler.yaml&quot;<br>[upgrade/staticpods] Moved upgraded manifest to &quot;/etc/kubernetes/manifests/kube-apiserver.yaml&quot; and backed up old manifest to &quot;/etc/kubernetes/tmp/kubeadm-backup-manifests106421323/kube-apiserver.yaml&quot;<br>[upgrade/staticpods] Waiting for the kubelet to restart the component<br>[apiclient] Found 1 Pods for label selector component=kube-apiserver<br>[upgrade/staticpods] Component &quot;kube-apiserver&quot; upgraded successfully!<br>[upgrade/staticpods] Moved upgraded manifest to &quot;/etc/kubernetes/manifests/kube-controller-manager.yaml&quot; and backed up old manifest to &quot;/etc/kubernetes/tmp/kubeadm-backup-manifests106421323/kube-controller-manager.yaml&quot;<br>[upgrade/staticpods] Waiting for the kubelet to restart the component<br>[apiclient] Found 1 Pods for label selector component=kube-controller-manager<br>[upgrade/staticpods] Component &quot;kube-controller-manager&quot; upgraded successfully!<br>[upgrade/staticpods] Moved upgraded manifest to &quot;/etc/kubernetes/manifests/kube-scheduler.yaml&quot; and backed up old manifest to &quot;/etc/kubernetes/tmp/kubeadm-backup-manifests106421323/kube-scheduler.yaml&quot;<br>[upgrade/staticpods] Waiting for the kubelet to restart the component<br>[apiclient] Found 1 Pods for label selector component=kube-scheduler<br>[upgrade/staticpods] Component &quot;kube-scheduler&quot; upgraded successfully!<br>[uploadconfig] Storing the configuration used in ConfigMap &quot;kubeadm-config&quot; in the &quot;kube-system&quot; Namespace<br>[bootstraptoken] Configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials<br>[bootstraptoken] Configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token<br>[addons] Applied essential addon: kube-dns<br>[addons] Applied essential addon: kube-proxy<br><br>[upgrade/successful] SUCCESS! Your cluster was upgraded to &quot;v1.8.0&quot;. Enjoy!<br></pre><p>Now that your control plane is upgraded, please proceed with upgrading your kubelets in turn. Now would be a good time to check to see if your Container Network Interface(CNI) needs to be upgraded as well. Since there are many options available, refer to <a href="https://kubernetes.io/docs/concepts/cluster-administration/addons/#networking-and-network-policy">the CNI documentation</a> and check for the network option you’ve deployed.</p><p>Let’s add the RBAC rules to allow for certificate rotation. In the future kubeadm will do this for us automatically, but for now, let’s just get this out of the way:</p><pre>root@hyperion:~# kubectl create clusterrolebinding kubeadm:node-autoapprove-certificate-rotation --clusterrole=system:certificates.k8s.io:certificatesigningrequests:selfnodeclient --group=system:nodes<br>clusterrolebinding &quot;kubeadm:node-autoapprove-certificate-rotation&quot; created</pre><p>WE ARE NOT DONE! We have upgraded the control plane components of the cluster, but we still need to upgrade the kubelets themselves.</p><h3>Step 3: Upgrade the Operating System packages</h3><blockquote>Before we upgrade the OS packages we should ensure that the <em>node is drained</em> of all workloads.</blockquote><p>This will ensure that other nodes pick up the slack while this node is being upgraded.</p><pre>root@hyperion:~# kubectl drain hyperion --ignore-daemonsets<br>node &quot;master&quot; already cordoned<br>error: pods not managed by ReplicationController, ReplicaSet, Job, DaemonSet or StatefulSet (use --force to override): etcd-kubeadm, kube-apiserver-kubeadm, kube-controller-manager-kubeadm, kube-scheduler-kubeadmAs explained in the documentation, that error is expected on the master nodes. Check kubectl get pods to make sure that all workloads have indeed been removed from the node.</pre><p>Now we’re ready to update the packages. Your nodes should still have the kubernetes repositories available as kubeadm added them during the installation process.</p><pre>root@hyperion:~# apt update<br>Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease<br>Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]                                                             <br>Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                                                              <br>Get:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]                                        <br>Hit:5 https://packages.cloud.google.com/apt kubernetes-xenial InRelease                                                         <br>Fetched 306 kB in 0s (326 kB/s)<br>Reading package lists... Done<br>Building dependency tree       <br>Reading state information... Done<br>3 packages can be upgraded. Run &#39;apt list --upgradable&#39; to see them.<br>root@hyperion:~# apt dist-upgrade<br>Reading package lists... Done<br>Building dependency tree       <br>Reading state information... Done<br>Calculating upgrade... Done<br>The following packages will be upgraded:<br>  kubeadm kubectl kubelet<br>3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br>Need to get 45.9 MB of archives.<br>After this operation, 36.2 MB of additional disk space will be used.<br>Do you want to continue? [Y/n] <br>Get:1 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubelet amd64 1.8.0-00 [19.2 MB]<br>Get:2 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubectl amd64 1.8.0-00 [8,600 kB]<br>Get:3 https://packages.cloud.google.com/apt kubernetes-xenial/main amd64 kubeadm amd64 1.8.0-00 [18.1 MB]<br>Fetched 45.9 MB in 2s (15.3 MB/s)  <br>(Reading database ... 95864 files and directories currently installed.)<br>Preparing to unpack .../kubelet_1.8.0-00_amd64.deb ...<br>Unpacking kubelet (1.8.0-00) over (1.7.5-00) ...<br>Preparing to unpack .../kubectl_1.8.0-00_amd64.deb ...<br>Unpacking kubectl (1.8.0-00) over (1.7.5-00) ...<br>Preparing to unpack .../kubeadm_1.8.0-00_amd64.deb ...<br>Unpacking kubeadm (1.8.0-00) over (1.7.5-00) ...<br>Setting up kubelet (1.8.0-00) ...<br>Setting up kubectl (1.8.0-00) ...<br>Setting up kubeadm (1.8.0-00) ...<br>Installing new version of config file /etc/systemd/system/kubelet.service.d/10-kubeadm.conf ...<br>root@hyperion:~#</pre><p>Let’s check to make sure the new kubelet is up and running:</p><pre>root@hyperion:~# systemctl status kubelet<br>● kubelet.service - kubelet: The Kubernetes Node Agent<br>   Loaded: loaded (/lib/systemd/system/kubelet.service; enabled; vendor preset: enabled)<br>  Drop-In: /etc/systemd/system/kubelet.service.d<br>           └─10-kubeadm.conf<br>   Active: active (running) since Mon 2017-10-02 09:47:24 EDT; 24min ago<br>...<br></pre><p>And now we can allow workloads back onto the node.</p><pre>root@hyperion:~# kubectl uncordon hyperion<br>node &quot;hyperion&quot; uncordoned</pre><p>Now we need to go around to each node in the cluster and repeat the same steps. This is one of those areas where configuration management tools can really help. Once all your nodes are upgraded, let’s check to make sure everything is as it should be:</p><pre>@hyperion:~# kubectl get nodes<br>NAME       STATUS     ROLES     AGE       VERSION<br>dahl       Ready      &lt;none&gt;    6d        v1.8.0<br>hyperion   Ready      master    6d        v1.8.0</pre><h3>Conclusion</h3><p>How do you know your cluster has survived it’s upgrade intact? While the upgrade has succeeded we should go ahead and exercise our cluster to ensure proper behavior. Kubernetes has a set of <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/e2e-tests.md">end to end tests</a> just for this purpose.</p><p>We recommend running Heptio Sonobuoy on your cluster to ensure that you’re passing these end-to-end tests. You can either run it <a href="https://github.com/heptio/sonobuoy">directly in your cluster</a> or via the <a href="https://scanner.heptio.com/">Heptio Sonobuoy Scanner</a>.</p><p>Kubeadm has come a long way, and the ability to upgrade in place has been one of the most requested features. For 1.9 kubeadm will be concentrating on high availability features, you can find out more in the <a href="https://docs.google.com/document/d/1deJYPIF4LmhGjDVaqrswErIrV7mtwJgovtLnPCDxP7U/edit#heading=h.ocyo93qqrr2l">SIG Cluster Lifecycle Notes</a>.</p><p>Setting up backups with <a href="https://github.com/heptio/ark">Heptio Ark</a> wouldn’t be a bad idea either. In future blog posts we will discuss how using kubeadm, sonobuoy, and ark together can help manage the entire lifecycle of your Kubernetes cluster.</p><p>If you’re interested in contributing to kubeadm, we encourage you to join <a href="https://github.com/kubernetes/community/blob/master/sig-cluster-lifecycle/README.md">SIG cluster-lifecycle</a> and give the team feedback. You can also file issues and check out kubeadm yourself in the <a href="https://github.com/kubernetes/kubeadm">github repo</a>.</p><blockquote>A special thanks to <a href="http://mhausenblas.info/">Michael Hausenblas</a> for documenting this feature, enabling us to write this article.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=797091ad2f9f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/heptio-blog/upgrading-to-kubernetes-1-8-with-kubeadm-797091ad2f9f">Upgrading to Kubernetes 1.8 with Kubeadm</a> was originally published in <a href="https://medium.com/heptio-blog">Heptio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Can “cloud-native” concepts apply to home servers?]]></title>
            <link>https://medium.com/@jcastro1975/can-cloud-native-concepts-apply-to-home-servers-jorges-stompbox-dec000a8b033?source=rss-4bb1d36b0110------2</link>
            <guid isPermaLink="false">https://medium.com/p/dec000a8b033</guid>
            <category><![CDATA[coreos]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[Jorge Castro]]></dc:creator>
            <pubDate>Thu, 03 Aug 2017 00:00:00 GMT</pubDate>
            <atom:updated>2017-10-03T14:49:37.658Z</atom:updated>
            <content:encoded><![CDATA[<p>03 Aug 2017</p><p>I’ve recently embarked on a journey of trying new things in my homelab. I’ve been experimenting with new methods of managing my services at home, and I have tried a few combinations of methods and operating systems.</p><p>Now that I am more familiar with the cloud native landscape, I was wondering if I could wean myself off the most stateful snowflake in my life, the trusty home server.</p><p>I’ve been collecting hardware recently and decided to go out of my comfort zone and run some home services via different combinations. Here’s what I found out.</p><h3>What do I need to run?</h3><p>I have a few things I run in house that I need to host:</p><p>The Unifi stuff depends on Java and MongoDB, and accesses hardware on the network. Pi-hole expects to basically be my DNS server, and Plex is the textbook definition of a stateful app; depending on the size of your video collection it can grow a substantial database that’s all on disk, so moving around means bringing gigs of stuff with it.</p><p>With this varied set of apps, we shall begin!</p><h3>Old Reliable, traditional Ubuntu 16.04 with .debs</h3><p>This has been working for me for years up to this point. As with anything involving third party packaging, maintenance can tend to get annoying.</p><p>For Unifi you need either an external Mongo repo(!) and/or a OpenJDK PPA(!) to get it to work.</p><p>Pi hole wants me to pipe a script to bash, and Plex just publishes one off debs with no repository, making that update a hassle.</p><p>There are some benefits here, once I configure unattended-upgrades things generally run fine. It’s a well understood system, and having the large repository of software is always good. Over time it tends to accumulate crap though.</p><h3>Ubuntu 16.04 with Docker containers</h3><p>The main advantage to this setup is I can crowdsource the maintenance of these apps to people who do a real good job, like the awesome guys at <a href="http://tools.linuxserver.io/dockers">linuxserver.io</a>. I can keep a <em>lean</em> and mostly stock host, toss away broken containers if need be, and keep everything nice and isolated.</p><p>What ppa do I need for unifi? Is my plex up to date? What java symlink do I need to fix? I don’t need to care anymore!</p><p>docker-compose was really good for this and relatively simple to grok, especially by stealing other people’s configs from github and modifying them to my needs.</p><h3>Why not LXD containers?</h3><p>I ran with this config for a while, but it had one major issue for me. LXD containers are system containers, that is, they run a copy of the OS. So now instead of maintaining one host I am now maintaining one host OS and many client OSes. Going into each one and installing/configuring the services felt like I was adding complexity. LXD is great, just not for my specific use case.</p><h3>Ubuntu Core 16.04 with Docker containers</h3><p>Finally, something totally different. I am pretty sure “home server” doesn’t rank high on the use case here, but I figured I would give it a shot. I took the same docker-compose files from before, except this time I deploy on top of ubuntu-core.</p><p>This gives me some nice features over the mutable-buntu. First off, atomic upgrades. Everytime it gets a new kernel it just reboots, and then on boot all the containers update and come back up.</p><p>This has a few teething issues. First off, if there’s a kernel update it’s just going to reboot, you can’t really control that. Another is, it really is small, so it’s missing tools. It can only install snaps, so no rsync, no git, no curl, no wget. I’m not going to run git out of a docker container. Also I couldn’t figure out how to run docker as the non-root user and I can’t seem to find the documentation on how to do that anywhere.</p><h3>Container Linux with Docker containers</h3><p>A slim OS designed to only run containers. This one definately has a more “work related” slant to it. There’s no normal installer, the installer basically takes a cloud-init-like yaml file and then dd’s the disk. Or just fire up your home PXE server. :) Most of the docs don’t even talk about how to configure the OS, the entire “state” is kept in this yaml file in git, it is expected that I can blow it away at any time and drop containers on it.</p><p>This comes with git, rsync, and curl/wget out of the box, so it’s nice to be able to have these core tools in there instead of totally missing. There’s also a toolbox command that will automagically fetch a traditional distro container (defaults to fedora) and then mounts the filesystem inside, so you can nano to your heart’s content.</p><p>This works really well. Container Linux lets me dictate the update policy as part of the config file, and if I have multiple servers I can cluster them together so that they will take turns rebooting without having a service go down. But as you can see, we quickly venture out of the “home server” use case with this one.</p><h3>Container Linux with rkt/systemd</h3><p>This is the setup I am enjoying the most. So instead of using the docker daemon, I create a systemd service file, like say /etc/systemd/system/unifi.service:</p><pre>[Unit] Description=Unifi After=network.target [Service] Slice=machine.slice Type=simple ExecStart=/usr/bin/rkt --insecure-options=image run docker://linuxserver/unifi --volume config,kind=host,source=/home/jorge/config/unifi --mount volume=config,target=/config --net=host --dns=8.8.8.8 KillMode=mixed Restart=always [Install] WantedBy=multi-user.target</pre><p>Then I systemctl start unifi to start it, and systemctl enable unifi to enable it on boot. ContainerOS is set to reboot on Thursdays at 4am, containers update on boot. I can use journalctl and machinectl like I can with “normal” services.</p><p>Note that you can use this config on any OS that has systemd and rkt. Since ContainerOS has a section in it’s yaml file for writing systemd services, I can have one well maintained file that will just enable me to spit out and entire configured server in one shot. Yeah!</p><p>This one “feels” like the most future proof, as the <a href="https://www.opencontainers.org/">OCI spec</a> is now finalized it feels like over time every tool will just be able to consume these images. I don’t know what that means for rkt and/or docker, but you can similarly <a href="http://container-solutions.com/running-docker-containers-with-systemd/">use docker in this manner as well</a>.</p><h3>What about state?</h3><p>So far I’ve only really talked about the “installation problem”, I’ve continually left out the hard part, the state of the applications themselves. Reinstalling coreos will get me all the apps back but no data, that doesn’t sound very cloud native!</p><p>If you look at the systemd service file above, you see I keep the state in /home/jorge/config/plex. I do this for each of the services. I need to find a way to make sure that that is saved somewhere else than just local disk.</p><p>Saving this onto an NFS share earned overwhelming NOPE NOPE NOPE from the straw poll I took (and one even threatened to come over and fight me). And that’s kind of cheating by moving the problem.</p><p>So right now this is still up in the air, I fired up a quick <a href="https://www.duplicati.com/">duplicati</a> instance to keep a copy on S3.</p><p>Really don’t want to add a ceph cluster to my home administration tasks. Suggestions here would be most welcome.</p><h3>How have they been running?</h3><p>I know what you’re thinking. Self rebooting servers and auto updating containers? You’re high.</p><p>Surprisingly in the last three months I have been running all five of these things side by side and they’ve all been rock solid.</p><p>I don’t know what to say here, some combination of great OS and container maintainers, or maybe not so much churn. I am going to try to keep these up and running as long as possible just to see what happens.</p><h3>What’s left to try?</h3><p>The obvious hole here is the Project Atomic stack, which will be next on the list.</p><p>And of course, it’s only a matter of time until one of these reboots breaks something or a container has a bad day.</p><p>If you think this blog post isn’t crazy enough, Chuck and I will be <a href="https://gist.github.com/chuckbutler/92164d09fba51b2219b8bb8d4450761f">delving into Kubernetes</a> for this later on as this is all just a warm up.</p><p><em>Originally published at </em><a href="https://blog.jorgecastro.org/2017/08/03/is-a-stateless-home-server-possible/"><em>blog.jorgecastro.org</em></a><em> on August 3, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dec000a8b033" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TLDRing your way to a Kubernetes Bare Metal cluster]]></title>
            <link>https://medium.com/@jcastro1975/tldring-your-way-to-a-kubernetes-bare-metal-cluster-17d8cab14a24?source=rss-4bb1d36b0110------2</link>
            <guid isPermaLink="false">https://medium.com/p/17d8cab14a24</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[Jorge Castro]]></dc:creator>
            <pubDate>Fri, 21 Jul 2017 00:00:00 GMT</pubDate>
            <atom:updated>2017-10-03T14:48:49.925Z</atom:updated>
            <content:encoded><![CDATA[<p>21 Jul 2017</p><p>Alex Ellis has an <a href="https://blog.alexellis.io/kubernetes-in-10-minutes/">excellent tutorial</a> on how to install Kubernetes in 10 minutes. It is a summarized version of what you can find in the <a href="https://kubernetes.io/docs/setup/independent/install-kubeadm/">official documentation</a>. Read those first, this is a an even shorter version with my choices mixed in.</p><p>We’ll install 16.04 on some machines, I’m using three. I just chose to use Weave instead of sending you to a choose your-own-network page as you have other stuff to learn before you dive into an opinion on a networking overlay. We’re also in a lab environment so we assume some things like your machines are on the same network.</p><h3>Prep the Operating System</h3><p>First let’s take care of the OS. I set up automatic updates, ensure the latest kernel is installed, and then ensure we’re all up to date, whatever works for you:</p><pre>sudo -s dpkg-reconfigure unattended-upgrades apt install linux-generic-hwe-16.04 apt update apt dist-upgrade reboot</pre><h3>Prep each node for Kubernetes</h3><p>This is just installing docker and adding the kubernetes repo, we’ll be root for these steps:</p><pre>sudo -s curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - cat &lt;&lt;EOF &gt;/etc/apt/sources.list.d/kubernetes.list deb http://apt.kubernetes.io/ kubernetes-xenial main EOF apt update apt install -qy docker.io kubelet kubeadm kubernetes-cni</pre><h3>On the master:</h3><p>Pick a machine to be a master, then on that one:</p><p>And then follow the directions to copy your config file to your user account, we only have a few commands left needed with sudo so you can safely exit out and continue with your user account:</p><pre>mkdir -p $HOME/.kube sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config sudo chown $(id -u):$(id -g) $HOME/.kube/config</pre><p>Let’s install the network, and then allow workloads to be scheduled on the master (for a lab we want to use all our hardware for workloads!):</p><pre>kubectl apply -f https://git.io/weave-kube-1.6 kubectl taint nodes --all node-role.kubernetes.io/master-</pre><h3>On each worker node:</h3><p>On each machine you want to be a worker (yours will be different, the output of kubeadm init will tell you what to do:</p><pre>sudo kubeadm join --token 030b75.21ca2b9818ca75ef 192.168.1.202:6443</pre><h3>Ensuring your cluster works</h3><p>It shouldn’t take long for the nodes to come online, just check em out:</p><pre>$ kubectl get nodes <br>NAME     STATUS   AGE VERSION <br>dahl     Ready    45m v1.7.1 <br>hyperion NotReady 16s v1.7.1 <br>tediore  Ready    32m v1.7.1 </pre><pre>$ kubectl cluster-info Kubernetes master is running at https://192.168.1.202:6443 KubeDNS is running at https://192.168.1.202:6443/api/v1/namespaces/kube-system/services/kube-dns/proxy To further debug and diagnose cluster problems, use &#39;kubectl cluster-info dump&#39; $</pre><p>Ok you’re cluster is rocking, now</p><h3>Set up your laptop</h3><p>I don’t like to be ssh’ed into my cluster unless I’m doing maintenance, so now that we know stuff is working let’s copy the kubernetes config from the master node to our local workstation. You should know how to copy files around systems already, but here’s mine for reference:</p><p>I don’t need the entire Kubernetes repo on my laptop, so we’ll just install the snap for kubectl and check that I can access the server:</p><pre>sudo snap install kubectl --classic kubectl get nodes kubectl cluster-info</pre><p>Don’t forget to <a href="https://blog.heptio.com/kubectl-shell-autocomplete-heptioprotip-48dd023e0bf3">turn on autocompletion</a>!</p><h3>Deploy your first application</h3><p>Let’s deploy the Kubernetes dashboard:</p><pre>kubectl create -f https://git.io/kube-dashboard kubectl proxy</pre><p>Then hit up <a href="http://localhost:8001/ui">http://localhost:8001/ui</a>.</p><p>That’s it, enjoy your new cluster!</p><h3>Joining the Community</h3><p>kubeadm is brought to you by SIG Cluster Lifecycle, they have <a href="https://docs.google.com/document/d/1deJYPIF4LmhGjDVaqrswErIrV7mtwJgovtLnPCDxP7U/edit#heading=h.rnqzadju87co">regular meetings</a> that anyone can attend, and you can give feedback on <a href="https://groups.google.com/forum/#!forum/kubernetes-sig-cluster-lifecycle">the mailing list</a>. I’ll see you there!</p><p><em>Originally published at </em><a href="https://blog.jorgecastro.org/2017/07/21/tldring-your-way-to-a-kubernetes-bare-metal-cluster/"><em>blog.jorgecastro.org</em></a><em> on July 21, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17d8cab14a24" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lessons Learned from joining the Kubernetes community]]></title>
            <link>https://medium.com/@jcastro1975/lessons-learned-from-joining-the-kubernetes-community-48db096adbf5?source=rss-4bb1d36b0110------2</link>
            <guid isPermaLink="false">https://medium.com/p/48db096adbf5</guid>
            <category><![CDATA[community]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Jorge Castro]]></dc:creator>
            <pubDate>Mon, 20 Mar 2017 00:00:00 GMT</pubDate>
            <atom:updated>2017-10-03T14:54:17.390Z</atom:updated>
            <content:encoded><![CDATA[<p>20 Mar 2017</p><p>Software can be complex and daunting, even more so in distributed systems. So when you or your company decide you’re going to give it a shot, it’s easy to get enamored with the technology and not think about the other things you and your team are going to need to learn to make participating rewarding for everyone.</p><p>When we first launched the <a href="https://ubuntu.com/containers/kubernetes">Canonical Distribution of Kubernetes</a>, our team was new, and while we knew how Kubernetes worked, and what ops expertise we were going to start to bring to market right away, we found the initial huge size of the Kubernetes community to be outright intimidating. Not the people of course, they’re great, it’s the learning curve that can really seem large. So we decided to just dive in head first, and then write about our experiences. While some of the things I mention here work great for individuals, if you have a team on individuals working on Kubernetes at your company then I hope some of these tips will be useful to you. This is by no means an exhaustive list, I’m still finding new things everyday.</p><h3>Find your SIGs</h3><p>Kubernetes is divided into a bunch of Special Interest Groups(SIGs). You can <a href="https://github.com/kubernetes/community/blob/master/sig-list.md">find a list here</a>. Don’t be alarmed! Bookmark this page, I use this as my starting off point anytime we needed to find something out in more detail that we could find in the docs or public list. On this page, you’ll find contact information for the leads, and more importantly, when those SIGs meet. Meetings are open to public and (usually) recorded. Find someone on your team to attend these meetings regularly. This is important for a few reasons:</p><ul><li>k8s moves fast, and if there’s an area you care about, you can miss important information about a feature you care about.</li><li>It’s high bandwidth since SIGs meet regularly, you won’t find long drawn out technical discussions on the mailing lists like you would on a project that only uses lists, these discussions move much faster when people talk face to face.</li><li>You get to meet people and put faces to names.</li><li>People get to see you and recognize your name (and optionally, your face). This will help you later on if you’re stuck and need help or if you want to start participating more.</li><li>Each team has a slack channel and google group (mailing list), so I prefer to sit in those channels as well as they usually have important information announced there, meeting reminders, and links to the important documents for that SIG.</li></ul><h3>There’s a SIG just for contributor experience</h3><p><a href="https://github.com/kubernetes/community/blob/master/sig-contribx/README.md">SIG-contribex</a> — As it ends up there’s an entire SIG who work on improving contributor experience. I found this SIG relatively late when we started, you’ll find that asking quetions here will save you time in the long run. Even if you’re not asking questions yourself you can learn about how the mechanics of project works just by listening in on the conversation.</p><h3>So many things in /community</h3><p><a href="https://github.com/kubernetes/community">https://github.com/kubernetes/community</a> — This should be one of your first starting points, if not the starting point. I put the SIGs above this because I’ve found for most people they’re initially interested in one key area, and you can just go to that SIG directly first to get started then come back to this. That doesn’t mean this isn’t important, if I get lost in something this is usually the place I start to look for something. Try to get everyone on your team to have at least a working understanding of the concepts here, and of course don’t forget the CLA and Code of Conduct.</p><h3>There’s a YouTube Channel</h3><p><a href="https://www.youtube.com/c/KubernetesCommunity">https://www.youtube.com/c/KubernetesCommunity</a> — I found this channel to be very useful for “catching up”. Many SIGs publish their meetings relatively quickly, and tossing in the channel in the background can help you keep track of what’s going on.</p><p>If you don’t have the time do dig into all the SIG meetings, you can concentrate on the <a href="https://www.youtube.com/playlist?list=PL69nYSiGNLP1pkHsbPjzAewvMgGUpkCnJ">weekly community meeting</a>, which is held weekly and a summary of many of things happening around the different SIGs. The community meetings also have demos, so it’s interesting to see how the ecosystem is building tools around k8s; if you can only make one meeting a week, this is probably the one to go to.</p><h3>The Community Calendar and meetings</h3><p>This sounds like advanced common sense but there’s a <a href="https://calendar.google.com/calendar/embed?src=nt2tcnbtbied3l6gi2h29slvc0%40group.calendar.google.com">community calendar</a> of events.</p><p>Additionally, I found that adding the SIG meetings to our team calendar helps. We like to rotate people around meetings so that they can get experience in what is happening around the project and to ensure that worst case if someone can’t make a meeting someone is there to take notes. If you’re getting started, do yourself a favor <em>volunteer to take notes at a SIG meeting</em>, you will find that you’ll need to pay closer attention to the material and for me it helps me understand concepts better when I have to write it down in a way that makes sense for others.</p><p>We also found it useful to not flood one meeting with multiple people. If it’s something important, sure, but if you just want to keep an eye on what’s going on there you can only send one person and then have that person give people a summary at your team standup or whatever. There are so many meetings that you don’t want to fall into the trap of having people sitting in meetings all day instead of getting things done.</p><h3>OWNERS</h3><p>Whatever area you’re working on, go up the tree and eventually you’ll find an OWNERS file that list who owns/reviews that section of the code or docs or whatever. I use this as a little checklist when I join the SIG meetings to keep track of who is who. When I eventually went to a SIG meeting at Kubecon, it was nice to meet people who will be reviewing your work or you’ll be having a working relationship with.</p><h3>Find a buddy</h3><p>At some point you’ll be sitting in slack and you’ll see some poor person who is asking the same sorts of questions you were. That’s one of the first places you can start to help, just find someone and start talking to them. For me it was “Hey I noticed you sit in SIG-onprem too, you doing bare metal? How’s it going for you?”</p><h3>It’s too big!</h3><p>This used to worry me because the project is so large I figured I would never understand the entire thing. That’s ok. It’s totally fine to not know every single thing that’s going on, that’s why people have these meetings and summaries in the first place, just concentrate on what’s important to you and the rest will start to fall into place.</p><h3>But we only consume Kubernetes, why participate?</h3><p>One of the biggest benefits of consuming an open source project is taking advantage of the open development process. At some point something you care about will be discussed in the community then you should take advantage of the economies of scale that having so many people working on something gives you. Even if you’re only using k8s on a beautifully set up public cloud from a vendor where you don’t have to worry about the gruesome details, your organization can still learn from all the work that is happening around the ecosystem. I learn about new tools and tips every single day, and even if your participation is “read-only”, you’ll find that there’s value in sharing expertise with peers.</p><h3>Ongoing process</h3><p>This post is already too long, so I’ll just have to keep posting more as I keep learning more. If you’ve got any tips to share please leave a comment, or post and send me a link to link to.</p><p><em>Originally published at </em><a href="https://blog.jorgecastro.org/2017/03/20/lessons-learned-from-joining-the-kubernetes-community/"><em>blog.jorgecastro.org</em></a><em> on March 20, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=48db096adbf5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Useful tool alert, explainshell.com]]></title>
            <link>https://medium.com/@jcastro1975/useful-tool-alert-explainshell-com-4ceea26fa13e?source=rss-4bb1d36b0110------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ceea26fa13e</guid>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Jorge Castro]]></dc:creator>
            <pubDate>Sun, 01 Jan 2017 00:00:00 GMT</pubDate>
            <atom:updated>2017-01-05T16:31:20.493Z</atom:updated>
            <content:encoded><![CDATA[<p>01 Jan 2017</p><p>Ran into this while using the Stack Overflow; <a href="http://explainshell.com/">explainshell.com</a>. Basically they take all of Ubuntu’s manpages and then parse them so you can paste in any Linux command and then see right away what each option does. Example:</p><p><a href="http://explainshell.com/explain?cmd=rsync+-chavzP+--stats+user%40remote.host%3A%2Fpath%2Fto%2Fcopy+%2Fpath%2Fto%2Flocal%2Fstorage">rsync -chavzP –stats user@remotehost:/path/to/copy /path/to/local/storage</a></p><p>It then takes the command you put in there and breaks down each of the flags. I like this for a few reasons. First of all, I hate reading manpages because I’m a human being. This shows me exactly what each option does without having to parse the entire manpage, it only tells me what I care about. Secondly, I prefer to learn by example instead of just reading manpages in their entirety. I can see this tool being very useful for people who are just starting to learn. Command on the internet confusing you? You can at least paste it in here and figure out what it’s doing before you end up being <a href="https://gist.github.com/KartikTalwar/4393116#gistcomment-1947694">that guy</a>.</p><p>Another example is <a href="http://bropages.org/rsync">bropages</a>, which lets people submit example commands for each tool, and then users vote on the usefulness of the examples for a nice stackoverflow-like list of example commands. It seems as though they haven’t had a commit for almost a year, so not sure if people are still contributing to that, but it seems like a decent enough idea.</p><p><em>Originally published at </em><a href="https://blog.jorgecastro.org/2017/01/01/useful-tool-alert-explainshell-dot-com/"><em>blog.jorgecastro.org</em></a><em> on January 1, 2017.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ceea26fa13e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unifi’s new cheaper switches are great]]></title>
            <link>https://medium.com/@jcastro1975/unifis-new-cheaper-switches-are-great-3fe1ee866900?source=rss-4bb1d36b0110------2</link>
            <guid isPermaLink="false">https://medium.com/p/3fe1ee866900</guid>
            <category><![CDATA[wifi]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Jorge Castro]]></dc:creator>
            <pubDate>Thu, 29 Dec 2016 00:00:00 GMT</pubDate>
            <atom:updated>2017-01-05T16:31:42.522Z</atom:updated>
            <content:encoded><![CDATA[<p>29 Dec 2016</p><p>I started switching to Ubiquiti’s Unifi equipment at home when one of my coworkers, Sean Sosik-Hamor, recommended them for prosumer use. A little while later Lee Hutchinson published <a href="http://arstechnica.com/gadgets/2015/10/review-ubiquiti-unifi-made-me-realize-how-terrible-consumer-wi-fi-gear-is/">Ubiquiti Unifi made me realise how terrible consumer Wi-Fi gear is</a> when they launched their newer (and cheaper) line of 802.11ac access points. I’ve got one of those, as well as the <a href="https://www.ubnt.com/unifi-routing/usg/">USG</a> for routing duties. The USG isn’t something to write home about, but it gets the job done, and in some advanced cases you can always ssh to it, but generally speaking I just use it as intended and mostly setting it up and forgetting about it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*enfNlumJGkZtqWpl.png" /></figure><p>Unlike most routers, you don’t manage Unifi gear through a web UI on the device, you run controller software on a host and then the controller software blasts out the config and updates to the devices. I recommend reading Dustin Kirkland’s <a href="http://blog.dustinkirkland.com/2016/12/unifi-controller-in-lxd.html">blog post for running Unifi in LXD</a> as it currently is 14.04 only, and if you’re like me, you’re finding that it’s becoming much more manageable to keep server software nice and isolated in it’s own container instead of splatting all its dependencies on the host OS. If you prefer things more old school, look for the “EdgeRouter” line of routers and switches.</p><p>At $99 for an AP and $149 for an access point you can come up with a nice business-grade combo, especially with the latest consumer routers starting to get close the $300(!) and utterly terrible software. The one thing that was always expensive though, was the Unifi line of managed switches. It’s nice, but at $199 for 8 ports, just too much for each port. Here’s a nice review from Lee on the <a href="http://arstechnica.com/gadgets/2016/04/ubiquitis-8-port-poe-switch-is-a-solid-complement-for-a-home-unifi-setup/">Unifi Switch 8</a>. Thanks to the wonder of their beta store, I was able to pick up the newer, slimmed down 8 port, the Unifi US-8:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*aX5g1I-KlEXg3WGO.jpg" /></figure><p>There it is, with the unmanaged switch it replaced. They dropped the SFP ports, and you can see the port LEDs are on the top instead of in each port, probably for cost? And since it’s Unifi, it plops in nicely with the UI, giving me some nice per-port stats:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/0*WUNU5xamdrswJlLM.png" /></figure><p>And it gets better, they’ve done a US-24 and US-48 as well. I put a US-24 in my basement. $215 all day for 24 ports, compared to the older model, which would go north of $500!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/0*XlPCQK4ITPgkdzaN.png" /></figure><p>I’m in the process of still setting up the homelab VLAN, so I don’t have much to report on that, but having everything managed in one system is a really great feature. I didn’t really need SFP plugs or lots of PoE power for my use, so this new low-end line is perfect for me, if you find yourself wanting cheap-but-good equipment with decent software, then I recommend you check them out, and of course drop by <a href="https://www.reddit.com/r/Ubiquiti/">/r/ubiquiti</a> if you need anything.</p><p>See also Troy Hunt’s <a href="https://www.troyhunt.com/ubiquiti-all-the-things-how-i-finally-fixed-my-dodgy-wifi/">more indepth blog post</a> for more information.</p><p><em>Originally published at </em><a href="https://blog.jorgecastro.org/2016/12/29/unifis-new-cheaper-switches-are-great/"><em>blog.jorgecastro.org</em></a><em> on December 29, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3fe1ee866900" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>