StatefulSet è£è¶³ é åºä¿èšŒãšäžææ§: Pod ãé çªã«äœæãããåé€ãããããšãä¿èšŒãããã«ãããããŒã¿ã®æŽåæ§ãä¿ãããåãè奿 å ±ã§ Pod ãåèµ·åã§ããã å®å®ãããããã¯ãŒã¯ID: åPodã«åºå®ã®ãããã¯ãŒã¯èå¥åãäžãããããã®èå¥å㯠Pod ãåãããã€ãããŠã倿Žã ããªãã æ°žç¶ã¹ãã¬ãŒãž: å Pod ã«å¯ŸããŠæ°žç¶ããªã¥ãŒã ïŒæ°žç¶ã¹ãã¬ãŒãžïŒã䜿çšã§ããPod ãåèµ·åãŸãã¯åãããã€ãã㊠ãããŒã¿ãä¿æãããã é åºä»ããã°ã¬ãŒã¹ãã«ãªããŒãªã³ã°ã¢ããããŒã: ã¢ããªã±ãŒã·ã§ã³ã®æŽæ°æã«ã¯ãStatefulSet ã¯é åºããäžã€ã〠Pod ãæŽæ°ããŠãããããæŽæ°äžãã·ã¹ãã ã®å®å®æ§ãç¶æå¯èœã
TiDB Set Up MySQL Client Access $ kubectl port-forward service/sample-tidb-tidb 14000:4000 > pf14000.out & $ mysql --comments -h 127.0.0.1 -P 14000 -u root Welcome to the MySQL monitor. Commands end with ; or ¥g. Your MySQL connection id is 1805648180 Server version: 8.0.11-TiDB-v7.4.0 TiDB Server (Apache License 2.0) Community Edition, MySQL 8.0 compatible Copyright (c) 2000, 2024, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '¥h' for help. Type '¥c' to clear the current input statement. mysql> SELECT @@VERSION; +--------------------+ | @@VERSION | +--------------------+ | 8.0.11-TiDB-v7.4.0 | +--------------------+ 1 row in set (0.00 sec) mysql> exit Bye
DB ã䜿ã£ãŠã¿ããïŒ https://speakerdeck.com/makocchi/how-to-use-tidb-with-kubernetes ããŸãã NewSQL ã䜿ã£ãŠã¿ãã https://speakerdeck.com/makocchi/lets-try-newsql-now https://docs.pingcap.com/tidb-in-kubernetes/stable/get-started Get Started with TiDB on Kubernetes https://github.com/oracle-japan/ochacafe-s8-4 Oracle Hangout Cafe Season 8 #4 NewSQL TiDB å ¥é ~ TiDB ãšåšèŸºããŒã«çŸ€ ~ https://zenn.dev/koiping/articles/f4b6579f3e6a68 Raft ã«ã€ããŠç°¡åã«èª¿ã¹ã https://naoto0822.medium.com/raft%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%E7%B0%A1%E5%8D% 98%E3%81%AB%E8%AA%BF%E3%81%B9%E3%81%9F-2c77dca2e298 è«æç¿»èš³: In Search of an Understandable Consensus Algorithm (Extended Version) https://hazm.at/mox/distributed-system/algorithm/transaction/raft/index.html