forked from cloudfoundry-incubator/kubo-deployment
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
some manifest tuning for deployment in azure.
- Loading branch information
1 parent
537d947
commit ec74225
Showing
24 changed files
with
755 additions
and
298 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
.DS_Store | ||
bin/go-outline | ||
bin/gopkgs | ||
pkg | ||
!/src/kubo-deployment-tests/resources/environments/test_gcp_with_creds/creds.yml | ||
*.iml | ||
*.terraform | ||
*.tfstate | ||
*.backup | ||
src/github.com/uudashr/gopkgs |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## How to Deploy CFCR | ||
|
||
### Step 1: deploy bastion vm. | ||
terraform apply -var prefix="YOUR PREFIX FOR RESOURCES" -var subscription_id="YOUR SUBSCRIPTION ID" -var client_id="YOUR SERVICE PRINCIPAL ID" -var client_secret="YOUR SERVICE PRINCIPAL PASSWORD" -var tenant_id="YOUR TENANT ID" -var ssh_user_username="cfuser" -var ssh_public_key_filename="./ssh_key.pub" | ||
|
||
### Step 2: connec to the bastion vm, and run. | ||
a. deploy the bosh director: | ||
cd /share/kubo-deployment | ||
export kubo_envs=~/kubo-env | ||
export kubo_env_name=kubo | ||
export kubo_env_path="${kubo_envs}/${kubo_env_name}" | ||
mkdir -p "${kubo_envs}" | ||
./bin/generate_env_config "${kubo_envs}" "${kubo_env_name}" azure | ||
/usr/bin/update_azure_env "${kubo_env_path}/director.yml" | ||
/usr/bin/update_azure_secrets "${kubo_env_path}/director-secrets.yml" | ||
/usr/bin/set_iaas_routing "${kubo_env_path}/director.yml" | ||
/share/kubo-deployment/bin/deploy_bosh "${kubo_env_path}" | ||
|
||
b. deploy the cfcr | ||
BOSH_ENV=${kubo_env_path} | ||
source /share/kubo-deployment/bin/set_bosh_environment | ||
./bin/deploy_k8s ~/kubo-env/kubo my-cluster | ||
./bin/set_kubeconfig ~/kubo-env/kubo my-cluster | ||
kubectl get pods --namespace=kube-system | ||
|
||
c. run the test app | ||
kubectl create -f filepath to do the test. |
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.