新页面

跳转到导航 跳转到搜索
新页面
隐藏注册用户 | 隐藏机器人 | 隐藏重定向

2026年6月2日 (星期二)

  • 17:142026年6月2日 (二) 17:14 Probe for spring boot历史 | 编辑[7,399字节] Evan留言 | 贡献 (创建页面,内容为“<pre> 对于 **Spring Boot 跑在 Kubernetes**,现在比较推荐的做法是: * **Startup Probe**:解决应用启动慢的问题 * **Readiness Probe**:判断是否接收流量 * **Liveness Probe**:判断是否需要重启 不要三个 Probe 都配成一样。 --- ## 1. Spring Boot 开启 Actuator 通常在 `application.yml`: ```yaml management: endpoints: web: exposure: include: health endpoint: health: probes:…”)

2026年5月25日 (星期一)

  • 15:112026年5月25日 (一) 15:11 183 Winter Clothes历史 | 编辑[547字节] Evan留言 | 贡献 (创建页面,内容为“<pre> A:Bye, mom! B:Wait, Jimmy, it’s cold outside. Put a hat on! A:Ok. Bye! B:No, wait, you will be too cold without mittens. A:Alright. See ya! B:Hold on, with that wind, you’re going to catch a cold. Wear this scarf. A:Ok, see you after school... B:Oh... and ear muffs! Put these on... here we go. A:Mom? B:Yes, honey... A:I... I can’t breathe. mitten [ˈmɪt(ə)n] n.(仅拇指分开的)两指手套 scarf 美: [skɑrf] n.围巾;头巾;披巾…”)

2026年5月9日 (星期六)

  • 07:422026年5月9日 (六) 07:42 Java基础历史 | 编辑[728字节] Evan留言 | 贡献 (创建页面,内容为“=2026= <pre> cat Main.java import java.util.*; public class Main { public static int[] twoSum(int[] nums, int target) { HashMap<Integer, Integer> map = new HashMap<>(); for (int i = 0; i < nums.length; i++) { int need = target - nums[i]; if (map.containsKey(need)) { return new int[]{map.get(need), i}; } map.put(nums[i], i); } return new int[]{}; }…”)

2026年4月19日 (星期日)

  • 03:122026年4月19日 (日) 03:12 How to stop these bots历史 | 编辑[2,442字节] Evan留言 | 贡献 (创建页面,内容为“<pre> docker logs mediawiki --tail 50 172.18.0.1 - - [19/Apr/2026:02:51:35 +0000] "GET /index.php?dir=prev&offset=20240308004504&target=Evan&title=%E7%89%B9%E6%AE%8A:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/Evan HTTP/1.1" 200 14233 "http://wiki.linuxsa.org/index.php?limit=50&offset=20240308212019&target=Evan&title=%E7%89%B9%E6%AE%8A:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/Evan" "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://opena…”)

2026年4月15日 (星期三)

  • 14:232026年4月15日 (三) 14:23 ASG tags历史 | 编辑[2,929字节] Evan留言 | 贡献 (创建页面,内容为“<pre> import boto3 from datetime import datetime autoscaling = boto3.client('autoscaling') # ===== 配置区 ===== ASG_NAMES = [ 'asg-prod-web', 'asg-prod-api', 'asg-canary' ] TAG_KEY = 'DailyTag' TAG_VALUE = datetime.now().strftime('%Y-%m-%d') # PROPAGATE_AT_LAUNCH = True def get_asg_tag(asg_name, key): """获取 ASG 当前 Tag 值""" try: response = autoscaling.describe_auto_scaling_groups( AutoScalingGroupName…”)

2026年4月13日 (星期一)

  • 07:012026年4月13日 (一) 07:01 Aws oracle历史 | 编辑[552字节] Evan留言 | 贡献 (创建页面,内容为“Amazon RDS for Oracle + Multi-AZ(有 standby instance) <pre> aws rds reboot-db-instance \ --db-instance-identifier mydb \ --force-failover #check AZ aws rds describe-db-instances \ --db-instance-identifier mydb \ --query "DBInstances[0].MultiAZ" </pre>”)

2026年3月31日 (星期二)

  • 15:522026年3月31日 (二) 15:52 Aurora PG13 to PG14 Migration历史 | 编辑[3,127字节] Evan留言 | 贡献 (创建页面,内容为“ =回滚方案= <pre> 能从快照恢复: RDS → 快照 → 选中升级前的快照 恢复为新实例(或覆盖原实例) 恢复后版本回到 PG13 aws cli aws rds restore-db-instance-from-db-snapshot \ --db-instance-identifier YOUR_DB_NAME_RESTORE \ --db-snapshot-identifier before-pg14-upgrade \ --region ap-east-1 </pre>”)

2026年3月23日 (星期一)