...
The contents of the configmap can be shown by command:
Code Block | ||
---|---|---|
| ||
sudo 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 | ||
---|---|---|
| ||
sudo kubectl create configmap policymanagementservice-configmap-data --from-file=./pms_config.map --dry-run=client -n nonrtric -o yaml | sudo kubectl apply -f - |
...
The contents of the configmap can be shown by command:
Code Block | ||
---|---|---|
| ||
sudo kubectl -n nonrtric describe configmap dmaapadapterservice-configmap-data |
...
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 - |
...