Metadata-Version: 2.1
Name: kubelink
Version: 0.0.3
Summary: kubelink automatically sync files to kubernetes pods
Home-page: https://github.com/waverage/kubelink
Author: Volodymyr Tsumanchuk
Author-email: buorn2011@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.7
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

kubelink automatically sync files to kubernetes pods. It speed up your development. You just work with your local files and kubelink automatically syncing them to your kubernetes cluster.

Using kubelink is as simple as:
1. `kubelink create --name mypreset --source ./ --destination /code --namespace default --selector "app=backend"` to create a preset with your settings
2. `kubelink watch mypreset` to start syncing files

kubelink based on `kubectl cp` and `kubectl exec` commands. So, kubelink is lightweight utility.

Installation
============

Via pip
-------
```
pip install kubelink
```

From source code
----------------
```
git clone https://github.com/waverage/kubelink.git
cd kubelink
python setup.py buiild
python setup.py install
```

Usage
=====


kubelink create
---------------

Create a kubelink config preset with your sync settings.

```
kubelink create --name mypreset --source /Users/bob/myproject --destination /code --namespace default --selector "app=backend"
```
The presets file location is `~/.kubelink/config.yaml`.
You can create multiple config presets.
Help available by command:
```
kubelink create -h
```

kubelink watch
--------------
Start watching for real-time synchronizations.
```
kubelink watch mypreset
```

Help available by command:
```
kubelink watch -h
```

#### How to build and publish package ####
1.  Build setup.py
```
python setup.py sdist bdist_wheel
```
2. Upload package to Pypi
```
twine upload dist/*
```


