我试着用Arduino Uno,三个按钮和一个ACM1602B-FL-钼显示器制作一个岩石,纸张,剪刀游戏。
我有问题,只是做一个简单的“你好世界”这个显示器。
#include <LiquidCrystal.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12,11,10,7,6,5,4);
void setup() {
// set up the LCD's number of columns and rows:
lcd.begin(1
根据本文档,我看到可以使用readinessProbe暂时停止对pod的请求,而不必重新启动它,以便正常恢复。
当我看到pod事件时,它看起来像是pod在Readiness探测失败时重新启动。以下是事件:
1. Readiness probe failed
2. Created container
3. Started container
4. Killing container with id {}
尝试将容器restartPolicy修改为OnFailure,希望此配置在readinessProbe失败时决定pod操作,但我看到以下错误:
The Deployment {} is