Skip to content
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

Updating nginx.yaml to match k8s API changes; Adding clarification to readme to build #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,17 @@ NAME READY STATUS RESTARTS AGE
nginx-1431970305-mwghf 0/1 Pending 0 27s
```

### Build the Scheduler
```
sh ./build
```

### Run the Scheduler

List the nodes and note the price of each node.

```
annotator -l
go run annotator/main.go -l
```
```
gke-k0-default-pool-728d327f-00lq 0.80
Expand Down
8 changes: 5 additions & 3 deletions deployments/nginx.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: nginx
name: nginx
spec:
replicas: 1
selector:
matchLabels:
name: nginx
template:
metadata:
labels:
app: nginx
name: nginx
name: nginx
spec:
schedulerName: hightower
containers:
Expand Down