-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Avoid use of shorthand module to when referring to the Kubernetes module Signed-off-by: Mark Cram <mark.cram@oracle.com> * Give scripts an extension to indicate their usage Signed-off-by: Mark Cram <mark.cram@oracle.com> * Not necessary to open NodePorts Signed-off-by: Mark Cram <mark.cram@oracle.com> * Persistently disable swap Signed-off-by: Mark Cram <mark.cram@oracle.com> * Improve readability Signed-off-by: Mark Cram <mark.cram@oracle.com> * Continue rename of 'module' to 'Kubernetes module' Signed-off-by: Mark Cram <mark.cram@oracle.com> * Hotfix to e02b97e - Give scripts an extension to indicate their usage Signed-off-by: Mark Cram <mark.cram@oracle.com> * Continue rename of 'module' to 'Kubernetes module' Signed-off-by: Mark Cram <mark.cram@oracle.com> * Update user facing strings to include capitalisation Signed-off-by: Mark Cram <mark.cram@oracle.com> * Be consistent when using double quotes for globbing Signed-off-by: Mark Cram <mark.cram@oracle.com> * Improve readability of user facing messages Signed-off-by: Mark Cram <mark.cram@oracle.com> * Allow expansion of variables in echo Signed-off-by: Mark Cram <mark.cram@oracle.com> * ssh-keyscan(1) matches the first hostname in a string, don't use quotes Signed-off-by: Mark Cram <mark.cram@oracle.com>
- Loading branch information
Showing
20 changed files
with
93 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
modules/operator/scripts/create_kubernetes_module.template.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2020, Oracle Corporation and/or affiliates. | ||
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl | ||
|
||
echo "Creating cluster ${cluster_name} in environment ${environment}" | ||
|
||
olcnectl --api-server 127.0.0.1:8091 module create --environment-name "${environment}" \ | ||
--module kubernetes --name "${cluster_name}" \ | ||
--container-registry "${container_registry}"/olcne \ | ||
--virtual-ip "${master_vip}" \ | ||
--master-nodes "${master_nodes_addresses}" \ | ||
--worker-nodes "${worker_nodes_addresses}" 2> /dev/null | ||
|
||
echo "Cluster ${cluster_name} created in environment ${environment}" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.