Skip to main content

Udacity Front-end Developer Challenge Daily Sprint Updates

As per the Next Generation Tech Booster Challenge Program, we are asked to submit a daily progress report on slack. We just need to answer these three questions in the post: • What did I work on today? • What I will work on tomorrow? • What issues are blocking my progress? I take this logging opportunity to also report on the progress I am making with my Coursera course “Server-side Development with NodeJS, Express, and MongoDB”; and my Linux Foundation course “LFS258 Kubernetes Fundamentals”.  To help with completing above, here are some links posted by the slack moderators that I try to use to get through my workload: How to Organize your Desk like a Pro Tips on how to achieve consistency Strategies we can employ to stop Procrastination Eliminate Time Wasting Activities by Using the Eisenhower Box Warren Buffett’s “2 List” Strategy The Ivy Lee Method The 15-Minute Routine Anthony Trollope Used to Write 40+ Books There are two sprints for the Udacity challenge but if I make it past th

What Docker Image for GO works on a Raspberry Pi 3 running Kubernetes k3s orchestrator?

I applied and was recently awarded a Cloud-native Application Architecture scholarship by SUSE and Udactity. There were about 12,000 scholars all over the globe who took part in the course made up of 5 lessons in 2 months, with phase 1 ending August 2, 2021.

One of the exercises was to run Docker Desktop on my Windows 10 computer and build a docker image alpine:golang which will run a web application and display the infamous Hello World. I uploaded this docker image to my Docker Hub registry for use in a Kubernetes cluster. We needed to install Oracle VirtualBox, Hashicorp Vagrant, and run Kubernetes k3s cluster https://k3s.io/ to host this docker image. This worked well on my computer but I wanted to try the same exercise on my RPi which had a lot less resources and wanted to see how well it worked there.

I have a Raspberry Pi 3 running Raspian OS with 32GB of disk and 4GB of memory. I connected the RPi via wifi on my local LAN and have opened up an SSH session to it. First I install k3s by running "curl -sfL https://get.k3s.io | sh"


Next, I pick an ARM image with alpine:golang, but this image did not work and the pods continually restarted. I scoured the internet and found this repo below after trying out over 6 different ARM images

    balenalib/raspberry-pi-alpine-golang:latest 

Use the above in your docker file, build it using standard "docker build" command and save the image to your Docker hub registry. From your RPi over an SSH session, run a "kubectl deploy" command to deploy a new golang app using that Docker hub image. I found that the pods stayed up but I didn't get to fully test the "Hello World" golang go-helloworld app via http://192.168.0.1:6112 from my host computer. Trying to run it locally on the RPi via http://127.0.0.1:6112 is extremely slow and I fear it might be resource constrained.

Here is the day-to-day recap of the scholarship challenge documented here https://github.com/chromilo/udacity-suse-scholarship

Comments

Popular posts from this blog

Wall of Graduates from the AI Product Manager Nanodegree

The "Wall of Graduates" is a Google sites page showing a profile list of students who graduated from the Udacity AI Product Manager nanodegree. We were asked two questions to include in our profile and there are those two questions.  What obstacles (big or small!) did you face during Phase 2 & how did you overcome them?    I think the biggest was time constraint. I was also doing my Georgia Tech course in the spring and this fell on the same timeline. The other obstacle is that the course material was not technical but more for product managers. This meant a lot of time was spent networking in slack participating community-driven initiatives. I did learn Artificial Intelligence concepts but it didn't need to last from December 2020-December 2021.  How are you making use of your newfound skills?  I don't use AI at work but it has allowed me to open my eyes to possibilities. We recently implemented MS Azure Cognitive service utilizing text translation. Although not

60 Days of Udacity: A Bertelsmann Technology Scholarship in AI

I applied and was recently awarded the Bertelsmann Technology scholarship where a group of students take part in an Artificial Intelligence track made up of 5 parts to be completed in 3.5 months.    As part of taking the class, we have to take part in a slack channel where we post our daily studies for 60 days reflecting on what we have learned. This is a transcription of those 60 days. The public github wiki is located here https://github.com/chromilo/udacity-bertelsmann-scholarship/wiki  Day 1:  I am in p3  (Datasets) doing the xray annotation project. I have created the appen job using the "Image Categorization" template. I uploaded the xray image data and modified the CML to make the  questions specific to checking for pnemonia. Also updated the Examples section. I am still working out the usage of conditional only-if in checkboxes to determine what other smarts to include when annotators go through the page. Created one Question so far and will continue working on the ot

One of the more underappreciated AWS service

The most under-appreciated AWS service is the AWS Certificate Manager (ACM). This service provides SSL/TLS certificate for your custom domain as long as you subscribe to any ACM-integrated service like Elastic Cache or Cloudfront.  I had been using Wordpress to host my website https://aminsolutions.com for some time on a free web hosting provider. In order to provide SSL/TLS web encryption, I would have to buy a public certificate from an SSL provider and have that in front of my Wordpress content management web site. I found there were many limitations with that including installation of a public certificate on a free webhost subscription.  I would have had to start a paid web host subscription and in order to install a paid public certificate on a Wordpress website that wasn't getting a lot of hits. Regardless, it had to be secured via SSL web encryption so this is where AWS Cloudfront came in. Using AWS Cloudfront integrated with ACM, I can get a free public SSL web certificate