This file contains hidden or 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
| root@42294959c845d4be8507807dd2d100d0 [ ~ ]# k get clusterrole view -o yaml | |
| aggregationRule: | |
| clusterRoleSelectors: | |
| - matchLabels: | |
| rbac.authorization.k8s.io/aggregate-to-view: "true" | |
| apiVersion: rbac.authorization.k8s.io/v1 | |
| kind: ClusterRole | |
| metadata: | |
| annotations: |
This file contains hidden or 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
| { | |
| "clusterstore": { | |
| "cluster_agent": [ | |
| "agent_settings" | |
| ] | |
| }, | |
| "esx": { | |
| "assignhw": [ | |
| "overrides" | |
| ], |
This file contains hidden or 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
| --- | |
| apiVersion: projectcontour.io/v1 | |
| kind: HTTPProxy | |
| metadata: | |
| annotations: | |
| kubernetes.io/ingress.class: contour-external | |
| labels: | |
| app: vmware | |
| name: event-router | |
| namespace: vmware-system |
This file contains hidden or 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
| SERVICE_IDS=$(/usr/lib/vmware-lookupsvc/tools/lstool.py list --ep-type com.vmware.cis.vsphereclient.plugin --url http://localhost:7090/lookupservice/sdk --type vsphere.client --id-only | grep -v JAVA) | |
| VC_USERNAME='administrator@vsphere.local' | |
| VC_PASSWORD='VMware1!' | |
| for SERVICE_ID in ${SERVICE_IDS[@]}; | |
| do | |
| /usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7090/lookupservice/sdk --user ${VC_USERNAME} --password "${VC_PASSWORD}" --id ${SERVICE_ID} --no-check-cert | |
| done | |
| vmon-cli -r vsphere-ui |
This file contains hidden or 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
| DOCKER_COMPOSE_VERSION=1.27.4 | |
| HARBOR_VERSION=1.10.6 | |
| DEFAULT_HARBOR_PASSWORD='Tanzu1!' | |
| HARBOR_HOSTNAME=registry.tanzu.local | |
| systemctl enable docker | |
| systemctl start docker | |
| curl -L "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
| chmod +x /usr/local/bin/docker-compose |
This file contains hidden or 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
| # 1-Node SDDC | |
| provider "vmc" { | |
| refresh_token = var.refresh_token | |
| org_id = var.org_id | |
| } | |
| resource "vmc_sddc" "sddc_1" { | |
| sddc_name = "1-Node-SDDC" | |
| num_host = 1 |
This file contains hidden or 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
| # 1-Node SDDC | |
| POST /orgs/{orgs}/sddcs | |
| { | |
| "name": "1-Node-SDDC", | |
| "num_hosts": 1, | |
| "deployment_type": "SingleAZ", | |
| "sddc_type": "1NODE", | |
| "provider": "AWS", |
This file contains hidden or 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
| 2020/05/08 08:43:05 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility. | |
| Use TF_LOG=TRACE to see Terraform's internal logs. | |
| ---- | |
| 2020/05/08 08:43:05 [INFO] Terraform version: 0.12.24 | |
| 2020/05/08 08:43:05 [INFO] Go runtime version: go1.12.13 | |
| 2020/05/08 08:43:05 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply", "-auto-approve"} | |
| 2020/05/08 08:43:05 [DEBUG] Attempting to open CLI config file: /Users/lamw/.terraformrc | |
| 2020/05/08 08:43:05 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2020/05/08 08:43:05 [INFO] CLI command args: []string{"apply", "-auto-approve"} | |
| 2020/05/08 08:43:05 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility. |
This file contains hidden or 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
| 2020/05/08 08:30:04 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility. | |
| Use TF_LOG=TRACE to see Terraform's internal logs. | |
| ---- | |
| 2020/05/08 08:30:04 [INFO] Terraform version: 0.12.24 | |
| 2020/05/08 08:30:04 [INFO] Go runtime version: go1.12.13 | |
| 2020/05/08 08:30:04 [INFO] CLI args: []string{"/usr/local/bin/terraform", "apply", "-auto-approve"} | |
| 2020/05/08 08:30:04 [DEBUG] Attempting to open CLI config file: /Users/lamw/.terraformrc | |
| 2020/05/08 08:30:04 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2020/05/08 08:30:04 [INFO] CLI command args: []string{"apply", "-auto-approve"} | |
| 2020/05/08 08:30:04 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility. |
This file contains hidden or 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
| { | |
| "variables": { | |
| "photon_ovf_template": "photon.xml.template", | |
| "ovftool_deploy_vcenter": "192.168.30.200", | |
| "ovftool_deploy_vcenter_username": "administrator@vsphere.local", | |
| "ovftool_deploy_vcenter_password": "VMware1!" | |
| }, | |
| "builders": [ | |
| { | |
| "type": "vsphere-iso", |