Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
1ee5ab5e
Commit
1ee5ab5e
authored
Nov 18, 2014
by
Jeff Mendoza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates and formatting to azure scripts.
parent
6ea71915
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
config-default.sh
cluster/azure/config-default.sh
+6
-5
create-dynamic-salt-files.sh
cluster/azure/templates/create-dynamic-salt-files.sh
+1
-0
util.sh
cluster/azure/util.sh
+0
-0
No files found.
cluster/azure/config-default.sh
View file @
1ee5ab5e
...
@@ -14,19 +14,19 @@
...
@@ -14,19 +14,19 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
INSTANCE_PREFIX
=
kube
ner
tes
INSTANCE_PREFIX
=
kube
rne
tes
AZ_LOCATION
=
'West US'
AZ_LOCATION
=
'West US'
TAG
=
testing
TAG
=
testing
AZ_CS_PREFIX
=
kube
AZ_CS_PREFIX
=
kube
AZ_VNET
=
shchTes
t
AZ_VNET
=
MyVne
t
AZ_SUBNET
=
Subnet-1
AZ_SUBNET
=
Subnet-1
AZ_IMAGE
=
b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04
-LTS-amd64-server-20140618.1
-en-us-30GB
AZ_IMAGE
=
b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04
_1-LTS-amd64-server-20140927
-en-us-30GB
AZ_CS
=
""
# is set in azure/util.sh verify-prereqs
AZ_CS
=
""
# is set in azure/util.sh verify-prereqs
AZ_SSH_KEY
=
$HOME
/.ssh/azure_rsa
AZ_SSH_KEY
=
$HOME
/.ssh/azure_rsa
AZ_SSH_CERT
=
$HOME
/.ssh/azure.pem
AZ_SSH_CERT
=
$HOME
/.ssh/azure.pem
NUM_MINIONS
=
2
NUM_MINIONS
=
4
MASTER_NAME
=
"
${
INSTANCE_PREFIX
}
-master"
MASTER_NAME
=
"
${
INSTANCE_PREFIX
}
-master"
MASTER_TAG
=
"
${
INSTANCE_PREFIX
}
-master"
MASTER_TAG
=
"
${
INSTANCE_PREFIX
}
-master"
...
@@ -35,3 +35,4 @@ MINION_NAMES=($(eval echo ${INSTANCE_PREFIX}-minion-{1..${NUM_MINIONS}}))
...
@@ -35,3 +35,4 @@ MINION_NAMES=($(eval echo ${INSTANCE_PREFIX}-minion-{1..${NUM_MINIONS}}))
MINION_IP_RANGES
=(
$(
eval echo
"10.244.{1..
${
NUM_MINIONS
}
}.0/24"
)
)
MINION_IP_RANGES
=(
$(
eval echo
"10.244.{1..
${
NUM_MINIONS
}
}.0/24"
)
)
MINION_SCOPES
=
""
MINION_SCOPES
=
""
PORTAL_NET
=
"10.250.0.0/16"
cluster/azure/templates/create-dynamic-salt-files.sh
View file @
1ee5ab5e
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
mkdir
-p
/srv/salt-overlay/pillar
mkdir
-p
/srv/salt-overlay/pillar
cat
<<
EOF
>/srv/salt-overlay/pillar/cluster-params.sls
cat
<<
EOF
>/srv/salt-overlay/pillar/cluster-params.sls
node_instance_prefix:
$NODE_INSTANCE_PREFIX
node_instance_prefix:
$NODE_INSTANCE_PREFIX
portal_net:
$PORTAL_NET
EOF
EOF
mkdir
-p
/srv/salt-overlay/salt/nginx
mkdir
-p
/srv/salt-overlay/salt/nginx
...
...
cluster/azure/util.sh
View file @
1ee5ab5e
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment