Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
b0a28b1e
Commit
b0a28b1e
authored
7 years ago
by
Brad Beam
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1462 from Abdelsalam-Abbas/azure_vars
Add more variables for more clarity
parents
ca6535f2
d6aeb767
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/azurerm/group_vars/all
+20
-2
20 additions, 2 deletions
contrib/azurerm/group_vars/all
contrib/azurerm/roles/generate-templates/defaults/main.yml
+8
-8
8 additions, 8 deletions
contrib/azurerm/roles/generate-templates/defaults/main.yml
with
28 additions
and
10 deletions
contrib/azurerm/group_vars/all
+
20
−
2
View file @
b0a28b1e
# Due to some Azure limitations, this name must be globally unique
# Due to some Azure limitations (ex:- Storage Account's name must be unique),
# this name must be globally unique - it will be used as a prefix for azure components
cluster_name: example
# Set this to true if you do not want to have public IPs for your masters and minions. This will provision a bastion
...
...
@@ -17,12 +18,29 @@ minions_os_disk_size: 1000
admin_username: devops
admin_password: changeme
# MAKE SURE TO CHANGE THIS TO YOUR PUBLIC KEY to access your azure machines
ssh_public_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLRzcxbsFDdEibiyXCSdIFh7bKbXso1NqlKjEyPTptf3aBXHEhVil0lJRjGpTlpfTy7PHvXFbXIOCdv9tOmeH1uxWDDeZawgPFV6VSZ1QneCL+8bxzhjiCn8133wBSPZkN8rbFKd9eEUUBfx8ipCblYblF9FcidylwtMt5TeEmXk8yRVkPiCuEYuDplhc2H0f4PsK3pFb5aDVdaDT3VeIypnOQZZoUxHWqm6ThyHrzLJd3SrZf+RROFWW1uInIDf/SZlXojczUYoffxgT1lERfOJCHJXsqbZWugbxQBwqsVsX59+KPxFFo6nV88h3UQr63wbFx52/MXkX4WrCkAHzN ablock-vwfs@dell-lappy"
kube_apiserver_port: 6443
# Disable using ssh using password. Change it to false to allow to connect to ssh by password
disablePasswordAuthentication: true
# Azure CIDRs
azure_vnet_cidr: 10.0.0.0/8
azure_admin_cidr: 10.241.2.0/24
azure_masters_cidr: 10.0.4.0/24
azure_minions_cidr: 10.240.0.0/16
# Azure loadbalancer port to use to access your cluster
kube_apiserver_port: 6443
# Azure Netwoking and storage naming to use with inventory/all.yml
#azure_virtual_network_name: KubeVNET
#azure_subnet_admin_name: ad-subnet
#azure_subnet_masters_name: master-subnet
#azure_subnet_minions_name: minion-subnet
#azure_route_table_name: routetable
#azure_security_group_name: secgroup
# Storage types available are: "Standard_LRS","Premium_LRS"
#azure_storage_account_type: Standard_LRS
This diff is collapsed.
Click to expand it.
contrib/azurerm/roles/generate-templates/defaults/main.yml
+
8
−
8
View file @
b0a28b1e
apiVersion
:
"
2015-06-15"
virtualNetworkName
:
"
KubVNET"
virtualNetworkName
:
"
{{
azure_virtual_network_name
|
default('
Kub
e
VNET
')
}}
"
subnetAdminName
:
"
ad-subnet"
subnetMastersName
:
"
master-subnet"
subnetMinionsName
:
"
minion-subnet"
subnetAdminName
:
"
{{
azure_subnet_admin_name
|
default('
ad-subnet
')
}}
"
subnetMastersName
:
"
{{
azure_subnet_masters_name
|
default('
master-subnet
')
}}
"
subnetMinionsName
:
"
{{
azure_subnet_minions_name
|
default('
minion-subnet
')
}}
"
routeTableName
:
"
routetable"
securityGroupName
:
"
secgroup"
routeTableName
:
"
{{
azure_route_table_name
|
default('
routetable
')
}}
"
securityGroupName
:
"
{{
azure_security_group_name
|
default('
secgroup
')
}}
"
nameSuffix
:
"
{{cluster_name}}"
nameSuffix
:
"
{{
cluster_name
}}"
availabilitySetMasters
:
"
master-avs"
availabilitySetMinions
:
"
minion-avs"
...
...
@@ -33,5 +33,5 @@ imageReference:
imageReferenceJson
:
"
{{imageReference|to_json}}"
storageAccountName
:
"
sa{{nameSuffix
|
replace('-',
'')}}"
storageAccountType
:
"
Standard_LRS"
storageAccountType
:
"
{{
azure_storage_account_type
|
default('
Standard_LRS
')
}}
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment