-
Notifications
You must be signed in to change notification settings - Fork 69
Multi Tenancy E2E Tests Plan and Progress
chenqianfzh edited this page Aug 17, 2020
·
33 revisions
Cover the multi-tenancy features checked in as of 7/30/2020 with e2e tests.
-
kube-dns and virtlet are running
-
kubectl commands
Done: create, get, describe, run, delete, cp, exec, apply, scale, patch, create job, label, autoscale, diff, cluster-info, expose
- system tenant is created automatically. System tenant cannot be deleted.
- resources (namespaces, service accounts, clusterroles, clsuterrolebindings) created automatically at tenant initialization
- multi-tenancy namespace deleter
- tenant deleter
All the tests should be done by
- a regular tenant with the tenant admin context specified
- a system tenant user with "--tenant" option
Tests for verbs:
- create
- get
- config (together verification of setup_client.sh)
- describe
- run
- delete
- cp
- exec
- apply
- scale
- patch
- create job
- label
- autoscale
- diff
- cluster-info
- expose
- annotate
- port-forward
- set
- edit
- rollout
- history
- taint
- logs
- attach
- replace
- wait
- api-resources
- api-versions
- deployment controller
- replicaset controller
- serviceaccount controller
- token controller
- endpoints controller
- job controller
- cronjob controller
- daemonset controller
- per-tenant resource quota controller
- service controller
- statefulset controller
- persistentvolume controller
- NodeLifeCycle controller
- regular tenants can not visit resources like nodes
- per-tenant CRD
- system forced CRD