...
Code Block |
---|
|
kubectl -n nonrtric describe configmap policymanagementservice-configmap-data |
The output from this can command be piped to a file and edited.
A configmap can updated in several ways this is an example where the configmap data file application_configuration.json is stored in a local file , in a directory named ./pms_config.map:
Code Block |
---|
|
A configmap can updated in several ways this is an example where the file application_configuration.json is stored in a local file in a directory named ./config:sudo kubectl create configmap policymanagementservice-configmap-data --from-file=./pms_config.map --dry-run=client -n nonrtric -o yaml | sudo kubectl apply -f - |
...
Code Block |
---|
|
kubectl -n nonrtric describe configmap dmaapadapterservice-configmap-data |
The output from this can command be piped to a file and edited. '
A configmap can updated in several ways this is an example where the configmap data file application_configuration.json is stored in a local file , in a directory named ./dmaap_config.map:
Code Block |
---|
|
sudo kubectl create configmap dmaapadapterservice-configmap-data --from-file=./dmaap_config.map --dry-run=client -n nonrtric -o yaml | sudo kubectl apply -f - |
...