Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
v0.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
rimusz committed Oct 14, 2015
1 parent c44de7b commit 9216460
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/CoreOS k8s Cluster/CoreOS k8s Cluster-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.5.2</string>
<string>0.5.4</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>159</string>
<string>161</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
5 changes: 4 additions & 1 deletion src/first-init.command
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ echo " "
echo Installing Kubernetes cluster...
echo " "
# install vagrant scp plugin
vagrant plugin install vagrant-scp
vagrant plugin install --plugin-version 0.4.1 vagrant-scp

### getting files from github and setting them up
echo ""
Expand All @@ -36,12 +36,15 @@ sed -i "" 's/172.17.8.#{i+100}/172.17.15.#{i+101}/g' ~/coreos-k8s-cluster/worker
cp ~/coreos-k8s-cluster/tmp/config.rb.sample ~/coreos-k8s-cluster/control/config.rb
sed -i "" 's/#$instance_name_prefix="core"/$instance_name_prefix="k8smaster"/' ~/coreos-k8s-cluster/control/config.rb
sed -i "" 's/#$vm_memory = 1024/$vm_memory = 512/' ~/coreos-k8s-cluster/control/config.rb
sed -i "" 's/File.open/#File.open/' ~/coreos-k8s-cluster/control/config.rb
# nodes
cp ~/coreos-k8s-cluster/tmp/config.rb.sample ~/coreos-k8s-cluster/workers/config.rb
sed -i "" 's/#$instance_name_prefix="core"/$instance_name_prefix="k8snode"/' ~/coreos-k8s-cluster/workers/config.rb
sed -i "" 's/File.open/#File.open/' ~/coreos-k8s-cluster/workers/config.rb
# set nodes to 2
sed -i "" 's/[#]*$num_instances=1/$num_instances=2/' ~/coreos-k8s-cluster/workers/config.rb


###

### Set release channel
Expand Down
11 changes: 4 additions & 7 deletions src/k8s/download_k8s.command
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/bash

# download_k8s.command
# CoreOS Kubernetes Cluster for OS X
Expand All @@ -15,12 +15,9 @@ rm -f *.tgz

# get latest k8s version
function get_latest_version_number {
local -r latest_url="https://storage.googleapis.com/kubernetes-release/release/latest.txt"
if [[ $(which wget) ]]; then
wget -qO- ${latest_url}
elif [[ $(which curl) ]]; then
curl -Ss ${latest_url}
fi
local -r latest_url="https://storage.googleapis.com/kubernetes-release/release/stable.txt"
curl -Ss ${latest_url}

}

K8S_VERSION=$(get_latest_version_number)
Expand Down
Binary file modified src/k8s/master.tgz
Binary file not shown.
Binary file modified src/k8s/nodes.tgz
Binary file not shown.
8 changes: 2 additions & 6 deletions src/update_k8s.command
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ read -p "$*"

# get latest k8s version
function get_latest_version_number {
local -r latest_url="https://storage.googleapis.com/kubernetes-release/release/latest.txt"
if [[ $(which wget) ]]; then
wget -qO- ${latest_url}
elif [[ $(which curl) ]]; then
curl -Ss ${latest_url}
fi
local -r latest_url="https://storage.googleapis.com/kubernetes-release/release/stable.txt"
curl -Ss ${latest_url}
}

K8S_VERSION=$(get_latest_version_number)
Expand Down

0 comments on commit 9216460

Please sign in to comment.