pinggit / kubernetes-contrail-day-one

9 stars 6 forks source link

[page #280 ] - internal registry used instead of public. #29

Open tkaagent opened 4 years ago

tkaagent commented 4 years ago

As per the document:

global_configuration: CONTAINER_REGISTRY: ci-repo.englab.juniper.net:5000 REGISTRY_PRIVATE_INSECURE: true provider_config: bms: ssh_pwd: Juniper ssh_user: root ntpserver: ntp.juniper.net domainsuffix: local <..>

Recommendation: ==============

global_configuration: CONTAINER_REGISTRY: hub.juniper.net/contrail REGISTRY_PRIVATE_INSECURE: True CONTAINER_REGISTRY_USERNAME: JNPR-FieldUserXX CONTAINER_REGISTRY_PASSWORD: XXxx

pinggit commented 4 years ago

thanks @tkaagent ! did you test it out?

once this can be confirmed we can make it as an extra note in the book (appendix). but I did see it here in the manual: https://www.juniper.net/documentation/en_US/contrail5.1/topics/task/configuration/deploying-contrail-command-aio.html

@YuvarajaMariappan please help to confirm.

tkaagent commented 4 years ago

thanks @tkaagent ! did you test it out?

once this can be confirmed we can make it as an extra note in the book (appendix). but I did see it here in the manual: https://www.juniper.net/documentation/en_US/contrail5.1/topics/task/configuration/deploying-contrail-command-aio.html

@YuvarajaMariappan please help to confirm.

Yes this is correct; I tested with below and OK:

[root@cent111 contrail-ansible-deployer]# cat config/instances.yaml
global_configuration:
  CONTAINER_REGISTRY: hub.juniper.net/contrail
  REGISTRY_PRIVATE_INSECURE: True
  CONTAINER_REGISTRY_USERNAME: xxxx
  CONTAINER_REGISTRY_PASSWORD: xxxx
provider_config:
  bms:
    ssh_pwd: xxxx
    ssh_user: root
    ntpserver: 0.north-america.pool.ntp.org
    domainsuffix: local
instances:
  bms1:
    provider: bms
    ip: 192.168.100.201
    roles:
        analytics:
        analytics_alarm:
        analytics_database:
        analytics_snmp:
        config:
        config_database:
        control:
        k8s_master:
        kubemanager:
        webui:
  bms2:
    provider: bms
    ip: 192.168.100.202
    roles:
        k8s_node:
        vrouter:
          VROUTER_GATEWAY: 10.10.10.100
  bms3:
    provider: bms
    ip: 192.168.100.203
    roles:
        k8s_node:
        vrouter:
          VROUTER_GATEWAY: 10.10.10.200
contrail_configuration:
  CLOUD_ORCHESTRATOR: kubernetes
  CONTRAIL_VERSION: 1912.32
  UPGRADE_KERNEL: true
  RABBITMQ_NODE_PORT: 5673
  VROUTER_GATEWAY: 10.10.10.100
  CONTROLLER_NODES: 192.168.100.201
  CONTROL_NODES: 10.10.10.201
  KUBERNETES_API_NODES: 10.10.10.201
  KUBERNETES_API_SERVER: 10.10.10.201
[root@cent111 contrail-ansible-deployer]#