main.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Copyright 2020 Dell Inc. or its subsidiaries. All Rights Reserved.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. ---
  15. # Master nodes firewall ports
  16. k8s_master_ports:
  17. - 6443/tcp
  18. - 2379-2380/tcp
  19. - 10250/tcp
  20. - 10251/tcp
  21. - 10252/tcp
  22. - 10255/tcp
  23. - 30000-32767/tcp
  24. - 8472/udp
  25. # Worker nodes firewall ports
  26. k8s_compute_ports:
  27. - 10250
  28. - 30000-32767
  29. # Calico CNI firewall ports
  30. calico_udp_ports:
  31. - 4789
  32. calico_tcp_ports:
  33. - 5473
  34. - 179
  35. # Flannel CNI firewall ports
  36. flannel_udp_ports:
  37. - 8285
  38. - 8472