Monthly Archives: September 2019

How to check if a variable is set in Bash?

where ${var+x} is a parameter expansion which evaluates to nothing if var is unset, and substitutes the string x otherwise. To check for non-null/non-zero string variable, i.e. if set, use It’s the opposite of -z. I find myself... Read More | Share it now!

差异两个rpms? – linux

尝试使用pkgdiff来查看RPM包之间的差异: 如果比较SRC.RPM,那么该工具也将提取并比较内部tarball(除非定义了-skip-subarchives选项). ... Read More | Share it now!

How can I pass artifacts to another stage?

Use dependencies. With this config test stage will download the untracked files that were created during the build stage: ... Read More | Share it now!

GCR(Container Registry) Authentication methods To authenticate to Container Registry, you should use gcloud as a Docker credential helper as described below. This page also describes advanced... Read More | Share it now!

kubernetes debug

For OpenShift use: For vanilla Kubernetes: Examine the events of the output. In my case it shows Back-off pulling image coredns/coredns:latest In this case the image coredns/coredns:latest can not be pulled from the Internet. Additional debuging... Read More | Share it now!

Push docker image to GCR for kubernetes 推送和拉取映像

本页面介绍如何推送和拉取映像,这是使用 Container Registry 时的两项最常见任务。要将新映像推送到 Container Registry,您首先需要使用注册表名称来标记该映像,如下所述。 要开始使用 Container... Read More | Share it now!

Installing Kubernetes with Minikube

Minikube is a tool that makes it easy to run Kubernetes locally. Minikube runs a single-node Kubernetes cluster inside a Virtual Machine (VM) on your laptop for users looking to try out Kubernetes or develop with it day-to-day. Minikube... Read More | Share it now!

Linux 之 shell 比较运算符

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA... Read More | Share it now!