项目作者: yangl900

项目描述 :
A kubectl plugin that validate Azure Container Registry authentication setup.
高级语言: Go
项目地址: git://github.com/yangl900/canipull.git
创建时间: 2020-11-15T08:05:40Z
项目社区:https://github.com/yangl900/canipull

开源协议:MIT License

下载


can-i-pull

canipull is a simple kubectl plugin to validate if your Kubernetes cluster running on Azure (AKS or self-hosted) has correct setup to pull container images from Azure Container Registry.

Install

On linux / mac, run:

  1. wget https://raw.githubusercontent.com/yangl900/canipull/main/plugin/kubectl-check_acr && \
  2. chmod +x ./kubectl-check_acr && \
  3. sudo mv -f ./kubectl-check_acr /usr/local/bin

Usage

Following command will perform the authorization check as well as other best practice for ACR in the cluster context.

  1. kubectl check-acr foobar.azurecr.io

Demo

asciicast