题干
For this question, please set this context (In exam, diff cluster name)
kubectl config use-context kubernetes-adminkubernetesyou have a script named pod-filter.sh . Update this script to include a command that filters and displays the label with the…
定义get接口
使用GetMapping定义一个基本get接口
RestController //表示定义一个json格式返回给前端
public class test {private Map<String,Object> map new HashMap<>();GetMapping(value "/test") //定义接口路径public Object userInfo(Strin…