Main Menu

Search

OCNE: Oracle Cloud Native Environment - Environment Configuration File Location

 /var/olcne/environment.conf is the environment file location on Operator node.

Below is sample snippet of environment.conf file in json format


{

  "cne-env": {

    "Version": 2,

    "Name": "cne-env",

    "Nodes": {},

    "Modules": {

      "control:8090": {

        "State": "installed",

        "UpdateState": "",

        "UpdateArgs": {},

        "Args": {},

        "ModuleName": "node",

        "Name": "control:8090",

        "ExplicitlyCreated": false

      },

      "k8s-cluster": {

        "State": "installed",

        "UpdateState": "",

        "UpdateArgs": {},

        "Args": {

          "apiserver-advertise-address": "",

          "apiserver-bind-port": "6443",

          "apiserver-bind-port-alt": "6444",

          "apiserver-cert-extra-sans": "",

          "compact": "false",

          "container-registry": "local-registry.company.com:5000/olcne",

          "control-plane-nodes": "control:8090",

          "kube-proxy-mode": "iptables",

          "kube-tls-cipher-suites": "",

          "kube-tls-min-version": "VersionTLS12",

          "kube-version": "1.25.11",

          "kubeadm-token": "",

          "load-balancer": "",

          "master-nodes": "control:8090",

          "nginx-image": "container-registry.oracle.com/olcne/nginx:1.17.7",

          "node-labels": "",

          "node-ocids": "",

          "pod-cidr": "10.XX.XX.0/16",

          "pod-network": "flannel",

          "pod-network-iface": "",

          "restrict-service-externalip": "false",

          "restrict-service-externalip-ca-cert": "",

          "restrict-service-externalip-cidrs": "",

          "restrict-service-externalip-tls-cert": "",

          "restrict-service-externalip-tls-key": "",

          "selinux": "permissive",

          "service-cidr": "10.XX.XX.0/12",

          "virtual-ip": "",

          "worker-nodes": "worker:8090"

        },

        "ModuleName": "kubernetes",

        "Name": "k8s-cluster",

        "ExplicitlyCreated": true

      },

      "worker:8090": {

        "State": "installed",

        "UpdateState": "",

        "UpdateArgs": {},

        "Args": {},

        "ModuleName": "node",

        "Name": "worker:8090",

        "ExplicitlyCreated": false

      }

    }

  }

}

No comments:

Post a Comment