Skip to content

Commit

Permalink
Web SSH Changes (#5140)
Browse files Browse the repository at this point in the history
  • Loading branch information
hegayam authored Oct 12, 2021
1 parent 23b284d commit 4aae218
Show file tree
Hide file tree
Showing 9 changed files with 87 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
"testuser2"
]
},
"kafkaProfile": {}
"kafkaProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "pod"
}
}
}
}
Expand Down Expand Up @@ -63,7 +67,11 @@
"fqdn": "cluster1.clusterpool1.westus2.projecthilo.net"
}
},
"kafkaProfile": {}
"kafkaProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "pod"
}
}
},
"systemData": {
Expand Down Expand Up @@ -107,7 +115,11 @@
"fqdn": "cluster1.clusterpool1.westus2.projecthilo.net"
}
},
"kafkaProfile": {}
"kafkaProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "pod"
}
}
},
"systemData": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
"testuser2"
]
},
"flinkProfile": {}
"flinkProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "pod"
}
}
}
}
Expand Down Expand Up @@ -54,7 +58,11 @@
"fqdn": "sessionCluster1.cluster1.clusterpool1.westus2.projecthilo.net"
}
},
"flinkProfile": {}
"flinkProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "pod"
}
}
},
"systemData": {
Expand Down Expand Up @@ -94,7 +102,11 @@
"fqdn": "sessionCluster1.cluster1.clusterpool1.westus2.projecthilo.net"
}
},
"flinkProfile": {}
"flinkProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "pod"
}
}
},
"systemData": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@
"fqdn": "cluster1.clusterpool1.westus2.projecthilo.net"
}
},
"kafkaProfile": {}
"kafkaProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "pod"
}
}
},
"systemData": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@
"fqdn": "sessionCluster1.cluster1.clusterpool1.westus2.projecthilo.net"
}
},
"flinkProfile": {}
"flinkProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "pod"
}
}
},
"systemData": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@
"fqdn": "cluster1.clusterpool1.westus2.projecthilo.net"
}
},
"kafkaProfile": {}
"kafkaProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "pod"
}
}
},
"location": "West US 2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@
"fqdn": "sessionCluster1.cluster1.clusterpool1.westus2.projecthilo.net"
}
},
"flinkProfile": {}
"flinkProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "pod"
}
}
},
"location": "West US 2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@
"fqdn": "cluster1.clusterpool1.westus2.projecthilo.net"
}
},
"kafkaProfile": {}
"kafkaProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "pod"
}
}
},
"systemData": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@
"fqdn": "sessionCluster1.cluster1.clusterpool1.westus2.projecthilo.net"
}
},
"flinkProfile": {}
"flinkProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "pod"
}
}
},
"systemData": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1609,6 +1609,9 @@
"logAnalyticsProfile": {
"$ref": "#/definitions/ClusterLogAnalyticsProfile"
},
"sshProfile": {
"$ref": "#/definitions/SshProfile"
},
"kafkaProfile": {
"type": "object",
"description": "Kafka cluster profile.",
Expand Down Expand Up @@ -1642,6 +1645,30 @@
},
"description": "Cluster profile."
},
"SshProfile": {
"type": "object",
"description": "Ssh profile for the cluster.",
"required": [
"count"
],
"properties": {
"count": {
"type": "integer",
"description": "Number of ssh pods per cluster.",
"format": "int32",
"maximum": 5.0,
"minimum": 0.0
},
"podPrefix": {
"type": "string",
"description": "Prefix of the pod names. Pod number will be appended to the prefix. The ingress URLs for the pods will be available at <clusterFqdn>/<sshBasePath>/<prefix>-<number>",
"minLength": 1,
"maxLength": 58,
"pattern": "^[a-z]([-a-z0-9]*[a-z0-9])?$",
"default": "pod"
}
}
},
"ClusterResourceProperties": {
"type": "object",
"required": [
Expand Down

0 comments on commit 4aae218

Please sign in to comment.