code: private Map<String,Object> createMessageHeaders(KubernetesCommand<?> command) {
          Map<String, Object> headers = new HashMap<String, Object>();
  
          headers.put(KubernetesMessageHeaders.COMMAND, command.getName());
  
          for (Map.Entry<String, Object> entry : command.getParameters().entrySet()) {
              headers.put(entry.getKey(), entry.getValue());
          }
  
          return headers;
      }
docs: Reads basic command information and converts to message headers.
  @param command
  @return