...
The contents of the configmap can be shown by command:
Code Block | ||
---|---|---|
| ||
sudo kubectl -n nonrtric describe configmap policymanagementservice-configmap-data |
...
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:
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=./config --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 file application_configuration.json is stored in a local file in a directory named ./config:
Code Block | ||
---|---|---|
| ||
sudo kubectl create configmap dmaapadapterservice-configmap-data --from-file=./config --dry-run=client -n nonrtric -o yaml | sudo kubectl apply -f - |
...