Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Unanswered
kubectl error: You must be logged in to the server (Unauthorized) after certificates renewal

https://amalgjose.com/2021/06/21/kubectl-error-you-must-be-logged-in-to-the-server-unauthorized-how-to-fix/#:~:text=kubernetes-,kubectl%20error%3A%20You%20must%20be%20logged%20in%20to%20the,(Unauthorized)%20%E2%80%93%20how%20to%20fix&text=This%20error%20occurs%20when%20the,to%20update%20the%20certificate%20automatically.

Steps:

  1. kubeadm alpha certs check-expiration
  2. kubeadm alpha certs renew all
  3. kubeadm alpha certs check-expiration
  4. kubectl get pods --all-namespaces --> You must be logged in to the server (Unauthorized)
  5. cp /etc/kubernetes/admin.conf .kube/config
  6. reboot of all machines (masters and workers)!!!!!!!!!
  
  
Posted 2 years ago
Edited one year ago
Votes Newest

Answers

12 Views
0 Answers
2 years ago
one year ago
Tags