[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: CMD with env vars



Ok, last try:

    spec:
      containers:
      - command:
        - /bin/sh
        - -c
        - /nsqd
        - --broadcast-address=$$(hostname -i)
        - --lookupd-tcp-address=$(NSLOOKUPD_SERVICE_HOST):$(NSLOOKUPD_PORT_4160_TCP_PORT)
        - --worker-id=$(WORKER_ID)
        - --data-path=/data

but still not expended:

/ # ps | more
PID   USER     TIME   COMMAND
    1 root       0:00 /bin/sh -c /nsqd --broadcast-address=$(hostname -i) --lookupd-tcp-address=172.30.82.189:4160 --worker-id=1 --data-path=/data
:(

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]