parent 1ee2170b
......@@ -5,10 +5,11 @@ from time import gmtime, strftime
import logging
aws_client = AWS_Client()
@click.option("--applications", required=True, help="Comma separated list of containers to update")
@click.option("--server", required=True, help="Kubernetes server address")
@click.option("--server", required=True, help="Kubernetes server domain (without protocol)")
@click.option("--token", required=True, help="Authentication token")
@click.option("--ca-file-path", required=True, help="Path to a file with the server's CA")
......@@ -33,7 +34,7 @@ def monitor_deployment(ctx):
from .monitor_deployment import monitor_deployment
k8s_monitor = monitor_deployment.MonitorDeployment(configuration, applications)
......@@ -11,5 +11,6 @@ class MonitorDeployment():
self.api = client.CoreV1Api()
def list_all(self):
# kubectl --certificate-authority ca.crt --server $K8S_URL --token $K8S_TOKEN apply -f full_spec.yml
def deploy_update(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment