-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new feature: cluster list/resource fetcher #9
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
fetcher
Add or maintain a Fetcher
Comments
alfinkel
added
documentation
Improvements or additions to documentation
enhancement
New feature or request
fetcher
Add or maintain a Fetcher
labels
Aug 10, 2020
Which fetcher category folders do you expect these fetchers to live in or will we need to add new categories? |
|
1 task
This was referenced Sep 3, 2020
Merged
1 task
This was referenced Jan 22, 2021
tmishina
added a commit
to tmishina/auditree-arboretum
that referenced
this issue
Feb 4, 2021
@tmishina can we close this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
fetcher
Add or maintain a Fetcher
Overview
Kubernetes resources (e.g.,
kubectl get pod
) can be used as evidence. For example,spec
ofPod
, custom resource of an operator, andConfigMap
shows whether applications (pod) and kubernetes infrastructure (operator) run with correct (expected) configuration. An enterprise often uses multiple clusters operated by multiple cloud service platform (e.g., EKS of AWS, GKE of GCP, OpenShift of IBM Cloud) for its IT infrastructure. In that situation, it is not straightforward to fetch resources from the multiple clusters because their authentication/authorization mechanisms and cluster management mechanisms differ over the providers.This issue focuses on fetching resources from multiple clusters of multiple cloud service providers. We plan to implement two fetchers; one is cluster list fetcher (per cloud service provider) and another is cluster resource fetcher.
Requirements
Approach
To support multiple cloud service providers,
Cluster List Fetchers
eksutil
for EKS,gcloud
for GKE,ibmcloud
for IBM Cloud) will be used to login each cloud provider, and then fetch cluster list from the provider's cluster admin APICluster Resource Fetcher
kubectl get RESOURCE_TYPE --kubeconfig path/to/kubeconfig
is used to fetch resourceskubectl get RESOURCE_TYPE
(neither--kubeconfig
nor--token
is specified because authorization token is already configured by the login command) is used to fetch resourcesSecurity and Privacy
Cluster List fetchers
~/.credential
to login the cluster management API of each provider. User needs to manage~/.credentials
in secure manner.Cluster Resource fetcher
kubeconfig
file specified in an auditree config file is used to access the cluster. User needs to managekubeconfig
file as usual.kubeconfig
file which is configured by login command of provider's CLI tool is used to access the cluster as similar to the list fetcher behaviour.Test Plan
The test will be done against one public cluster service both for vanilla kube logic and public cloud logic.
The text was updated successfully, but these errors were encountered: