Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  Kubernetes: Docker out

Recently,The hottest news in the Kubernetes circle that docker will be deprecated has been confirmed by the release of 1.20.Docker support in the Kubelet is now deprecated and will be removed in a future release. The Kubelet uses a module called “dockershim” which implements CRI support for Docker and it has seen maintenance issues in the Kubernetes community. We encourage you to evaluate moving to a container runtime that is a full-fledged implementation of CRI (v1alpha1 or v1 compliant) as they become available. — from Kubernetes 1.20 changelogThe news caused a tremend...

3,252 0       KUBERNETES DOCKER DOCKERSHIM


  The hidden risk of passing slice as function parameter

In Go's source code or other open source libraries, there are lots of cases where a slice pointer is passed to function instead of slice itself. This brings up a doubt why not passing slice directly as its internal is backed by an array pointer to point to underlying data?For example, in log package, the formatHeader function takes a parameter buf as type *[]byte instead of []byte.func (l *Logger) formatHeader(buf *[]byte, t time.Time, file string, line int) {}Let's understand the rationale behind this starting with an example.func modifySlice(innerSlice []string) { innerSlice[0] ...

8,046 2       GOLANG SLICE SLICE POINTER


  Fix could not read Username for 'https://xxx.com': terminal prompts disabled

Recently was working on a project which needed to build a docker image, but unfortunately it kept failing as below error was seen.fatal: could not read Username for 'https://xxx.com': terminal prompts disabledBased on the error, it looked like it was trying to pull code from remote Gitlab repository but failed as the terminal prompt is disabled.At first glance, have a doubt why it needs terminal prompt to be enabled? It should just succeed and without prompting for anything. The only reason for prompting is that it needs user authentication to login to the remote Gitlab repo and fetch code.&nb...

9,108 0       GIT DOCKER TERMINAL PROMPTS DISABLED


  Push docker image to remote AWS ECR

With the popularity of distributed and large-scale systems, there are more and more adoptions of cloud services. One of the most popular container in the market is Docker and one of the most popular cloud service provider is AWS. From development perspective, there is frequent need to push local docker image to remote ECR for debugging or testing purpose.Normally when a code change is done and the committed change would go through a series of process like code review, push to remote repo, merge to master, trigger CI/CD pipeline and then get docker image generated and pushed to ECR, thereafter ...

1,416 0       AWS ECR DOCKER AWS CLOUD


  Build a Kubectl Plugin from Scratch

by authorThe command-line tool kubectl is indispensable when using Kubernetes. You need it to query related Pod and Service information both in developing or performing some maintenance operations, such as events, scale, rolling update, etc.However, when using kubectl, there are many inconveniences. Though Kubernetes is officially maintaining kubectl¹, and you can submit the problems, improvement, and even PR in its Github Issues, you still have to wait long before its release.The most common solution is Kubectl-Plugin Pattern²Plugins extend kubectl with new sub-commands, allowing fo...

4,281 1       PLUGIN GOLANG KUBENETES KUBECTL


  Is Utah a good place for startups?

If you’re thinking of starting a business soon, then know that it’s a really good time to do so despite current circumstances. Rieva Lesonsky, a writer for the US Chamber of Commerce, highlights that today’s “new normal” has brought new customer demands and improved business technologies that you can take advantage of. In fact, many of the most successful businesses in the world, like Microsoft and Netflix, were created during an economic downturn.But this begs the question: where should I launch my startup? And while plenty of wealthy states like New York and Cal...

1,192 0       UTAH STARTUP BUSINESS


  Webinar Best Practices For A Webinar Experience Your Audience Will Love

The web conferencing technology has been getting a lot of attention lately, and for good reason. With global lockdowns and social distancing norms in effect, video conferencing has emerged as an economical way of staying in touch with office colleagues, friends, and family members.However, if that’s all you are using this technology for, you may not fully understand what is web conferencing and its immense potential.For instance, lately, web conferencing technology is being used to deliver webinars. From education to sales, webinars have proven to be a great solution for a number of busi...

1,021 0       WEB CONFERENCE WEBINAR


  Tips of Drafting an R Markdown Document

When presenting the data summary and exploratory analysis, we used to copy a lot of tables, charts from Rstudio to PowerPoint, which makes the presentation preparation painful. It becomes essential for data scientists to make use of better reporting tools, such as R markdown, Jupyter notebook to prepare the analysis presentation in a more efficient and organized way. Of course, we want this to be reproducible!In this post, I would like to share some tips of using the right tools to draw tables, plot charts, summarize datasets, when I explore building report using R markdown/notebook.Configurin...

3,821 0       R PROGRAMMING