$ for i in 0 1; do kubectl exec web-$i -- sh -c 'echo hello $(hostname) > /usr/share/nginx/html/index.html'; done

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2021-07-09
  • 2022-12-23
  • 2021-06-06
  • 2022-12-23
  • 2021-06-18
猜你喜欢
  • 2021-10-20
  • 2021-08-03
  • 2022-12-23
  • 2022-12-23
  • 2021-09-20
  • 2021-12-04
  • 2021-09-01
相关资源
相似解决方案