GithubHelp home page GithubHelp logo

bensdoings's People

Contributors

corrieb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

bensdoings's Issues

nfs-server vulnerabilities

nfs-server at dockerhub (bensdoings/nfs-server) may need an update; although I could build one myself from the provided dockerfile.

image

Add yaml2json wrapper

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

DinV Build: Document how to use DinV image remote API for builds

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

  • how to use the DinV image in stateful and stateless modes (persist the image cache in a VIC volume) with a discussion of the benefits
  • how to easily integrate the DinV slave with a secure Harbor instance
  • examples of how to integrate with popular build tools such as Jenkins

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.

wrong options in map-create.json file

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",
    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.