Sign inSign up

tpimages/kubernetes_asyncio_examples

By tpimages

Updated over 6 years ago

Examples from https://github.com/tomplus/kubernetes_asyncio

Image
0

993

tpimages/kubernetes_asyncio_examples repository overview

This image contains an example script from kubernetes_asyncio library. You can run it on your k8s cluster:

$ kubectl run kubernetes-asyncio-examples --image tpimages/kubernetes_asyncio_examples

Configure RBAC if necessary:

kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: pods-list
rules:
- apiGroups: [""]
  resources: ["pods"]
  verbs: ["list"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: pods-list
subjects:
- kind: ServiceAccount
  name: default
  namespace: default
roleRef:
  kind: ClusterRole
  name: pods-list
  apiGroup: rbac.authorization.k8s.io

Tag summary

Content type

Image

Digest

Size

345.3 MB

Last updated

over 6 years ago

docker pull tpimages/kubernetes_asyncio_examples