Skip to content

Commit

Permalink
Merge pull request #23 from linkernetworks/phstsai/time-sync
Browse files Browse the repository at this point in the history
DEV: Install ntp to sync the time
Former-commit-id: 1b6e6b16fcfcfec7f05f45b3eb9b80f020b955c5 [formerly 8ec2d5f]
Former-commit-id: 927b321648eaa8520d726d1804f50c9a43cd4e24
  • Loading branch information
John-Lin authored Jun 21, 2018
2 parents 0ef8f2b + bda5d6a commit 48a1173
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: default
containers:
- name: kube-state-metrics
image: asia.gcr.io/linker-aurora/kube-state-metrics:develop
image: sdnvortex/kube-state-metrics:develop
ports:
- name: http-metrics
containerPort: 8080
Expand Down
6 changes: 6 additions & 0 deletions developers/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@ Vagrant.configure("2") do |config|
# Env for proto
PROTOC_RELEASE="https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip"
PROTOC_TARGET="${HOME}/protoc"
# Install ntp
sudo apt-get install ntp
# Install Docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce=17.06.2~ce-0~ubuntu
# Install Kubernetes
sudo apt-get install -y apt-transport-https curl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
Expand All @@ -34,6 +39,7 @@ Vagrant.configure("2") do |config|
sudo chown $(id -u):$(id -g) $HOME/.kube/config
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/v0.9.1/Documentation/kube-flannel.yml
kubectl taint nodes --all node-role.kubernetes.io/master-
# Install Golang
wget --quiet https://storage.googleapis.com/golang/go1.10.2.linux-amd64.tar.gz
sudo tar -zxf go1.10.2.linux-amd64.tar.gz -C /usr/local/
Expand Down

0 comments on commit 48a1173

Please sign in to comment.