Skip to content

kubegc/operators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

operators

localstorage

We want to be able to listen for changes(add modify delete) to the PVC in kubernetes , automatically allocate the required PV and specify where to store them

This project is based on client-python(https://github.com/kubesys/client-python)

Installation

  1. install the client-python
git clone --recursive https://github.com/kubesys/client-python.git
pip install .
#test that you can import kubesys.client successfully
from kubesys.client import KubernetesClient
  1. install the operators
git clone https://github.com/kubesys/operators.git
  1. Configure kubernetes url and token
#wirte an account.yaml file like this
URL:your kubernetes URL
Token:your kubenetes Token
  1. change the path in test.py
#see line 17
file_path = "your account.yaml in step3"
  1. run the test.py
python3 -u "your project path"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages