corrieb / bensdoings Goto Github PK
View Code? Open in Web Editor NEWHacks around vSphere Integrated Containers
Hacks around vSphere Integrated Containers
As a user I would like to specify the configuration in the more user friendly YAML format. A simple yaml2yson
wrapper (there are many of them, the most appropriate needs to be determined) which converts the YAML format to JSON on the fly and then executes the script vic-machine.sh
should be easy to implement. The file example-complete.json
converted to YAML looks like the following:
---
version: '1.1'
vch:
name: myVCH
compute:
vsphere_resource: MyCluster
memory:
limit_mb: '8192'
reservation_mb: '4096'
shares: normal
cpu:
limit_mhz: '8000'
reservation_mhz: '4000'
shares: normal
network:
bridge:
port_group: t1-bridge
ip_range: 172.16.0.0/12
public:
port_group: ExternalNetwork
vch_static_ip: 10.0.1.2/24
vch_gateway: 10.0.0.1
management:
port_group: ManagementNetwork
vch_static_ip: 10.0.2.2/24
vch_gateway: 10.1.0.0/16,10.2.0.0/16:10.0.0.1
client:
port_group: ClientNetwork
vch_static_ip: 10.0.0.2/24
vch_gateway: 10.1.0.0/16,10.2.0.0/16:10.0.0.1
container:
- port_group: vsphere-net-dhcp
- port_group: vsphere-net2
alias: mynetwork2
ip_range: 172.16.1.0/24
gateway: 172.16.1.1/16
dns: 8.8.8.8
dns_server: 8.8.8.8
storage:
image_store: iSCSI-nas-2
volume_stores:
- iSCSI-nas-2/t1:default
- iSCSI-nas-1/t1:backup
base_image_size: 8GB
volumes_rm_on_delete: true
auth:
cert_path: "/path/to/generated-or-provided"
keygen:
cert_size: '2048'
tls_cname: "*.eng.vmware.com"
organization:
- myorg1.com
- myorg2.com
- myorg3.com
client:
no_tls: true
no_tls_verify: true
tls_ca:
- "/path/to/ca-file1"
- "/path/to/ca-file2"
server:
key_file: file.name
cert_file: file.name
endpoint_vm:
vcpus: '1'
memory_mb: '2048'
debug:
enable_ssh: true
authorized_key_file: "/path/to/keyfile"
root_password: y7u8i9o0p
vcenter:
address_datacenter: 10.118.68.111/MyDatacenter
use_resource_pool: true
credentials:
thumbprint: 52:BD:29:58:A2:3F:C9:9A:9D:9C:65:DE:14:85:B3:8F:EA:F0:3D:A8
admin_user: [email protected]
admin_password: "'Admin!23'"
vch_user: [email protected]
vch_password: t1pa55w0rd
registry:
insecure_registries:
- 10.118.66.101
registry_ca_files:
- "/path/to/ca_cert1"
- "/path/to/ca_cert2"
image_fetch_proxy:
http: http://fqdn_or_ip:port
https: https://fqdn_or_ip:port
vic_machine:
debug: '0'
timeout: 120s
appliance_iso: "/path/to/appliance.iso"
bootstrap_iso: "/path/to/bootstrap.iso"
upgrade_ignore_version_check: true
User Statement:
As a Docker developer using VIC, in the absence of a well-integrated docker build option, I would like to know how to use the VMware DinV image to manually run a build, push the output and deploy to production.
Details:
This is a simple near-term goal to support #4852 and ahead of an implementation of #4859.
We simply need to make sure that we document how to use the VMware DinV image remote API to go through a simple build process of build, push and pull. It would be worth covering how to use commit and push also.
In addition to the basic workflow, the document should discuss
Acceptance Criteria:
A comprehensive document on how to use the Photon DinV image in #4852 for manually building docker images, that meets the requirements above.
vic-machine/actions/1.2/map-create.json
"--cert-path": ".vch.auth.cert_path",
"--tls-cert-path": ".vch.auth.cert_path",
"--key": ".vch.auth.server.key_file",
"--cert": ".vch.auth.server.cert_file",
"--tls-key": ".vch.auth.server.key_file",
"--tls-cert": ".vch.auth.server.cert_file",
"--endpoint-mem": ".vch.endpoint_vm.memory_mb",
"--endpoint-memory": ".vch.endpoint_vm.memory_mb",
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.