Skip to content

Commit

Permalink
Makes cluster/gce/ubuntu to be a symlink to cluster/gce/gci and chang…
Browse files Browse the repository at this point in the history
…es the gci's [master|node].yaml to enable kubernetes.target.

This enables Ubuntu to use the same provisioning scripts as GCI's. The
change for enabling kubernetes.target is needed for Ubuntu but a no-op
for GCI.
  • Loading branch information
yguo0905 committed Apr 25, 2017
1 parent cf23d4c commit 0d66fc9
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 420 deletions.
2 changes: 1 addition & 1 deletion cluster/common.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright 2015 The Kubernetes Authors.
# Copyright 2017 The Kubernetes Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 4 additions & 0 deletions cluster/gce/gci/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ write_files:
[Unit]
Description=Kubernetes
[Install]
WantedBy=multi-user.target
runcmd:
- systemctl daemon-reload
- systemctl enable kube-master-installation.service
Expand All @@ -120,4 +123,5 @@ runcmd:
- systemctl enable kubelet-monitor.service
- systemctl enable kube-logrotate.timer
- systemctl enable kube-logrotate.service
- systemctl enable kubernetes.target
- systemctl start kubernetes.target
4 changes: 4 additions & 0 deletions cluster/gce/gci/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ write_files:
[Unit]
Description=Kubernetes
[Install]
WantedBy=multi-user.target
runcmd:
- systemctl daemon-reload
- systemctl enable kube-node-installation.service
Expand All @@ -120,4 +123,5 @@ runcmd:
- systemctl enable kubelet-monitor.service
- systemctl enable kube-logrotate.timer
- systemctl enable kube-logrotate.service
- systemctl enable kubernetes.target
- systemctl start kubernetes.target
1 change: 1 addition & 0 deletions cluster/gce/ubuntu
12 changes: 0 additions & 12 deletions cluster/gce/ubuntu/README.md

This file was deleted.

111 changes: 0 additions & 111 deletions cluster/gce/ubuntu/master-helper.sh

This file was deleted.

128 changes: 0 additions & 128 deletions cluster/gce/ubuntu/master.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions cluster/gce/ubuntu/node-helper.sh

This file was deleted.

Loading

0 comments on commit 0d66fc9

Please sign in to comment.