Skip to content

Commit

Permalink
fix flask
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Renner committed Feb 12, 2021
1 parent 4ad4223 commit fc0ea7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s-operators/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
name: manager
env:
- name: ALGORITHM_SCHEDULER_URL
value: "svc.url"
value: "algorithm-scheduler"
resources:
limits:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion scheduler-manager/k8s_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, job_token=None):
self.resources_identifier = str(uuid.uuid1())

# Configs can be set in Configuration class directly or using helper utility
config.load_kube_config()
config.load_incluster_config()()

configuration = client.Configuration()
api_client = client.ApiClient(configuration)
Expand Down

0 comments on commit fc0ea7b

Please sign in to comment.