Spaces:
Runtime error
Runtime error
File size: 360,426 Bytes
a76db1d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 | If reading Argocd in the same video Want to become a DevOps Engineer? If you want, then you have come to the right channel. Friends, because in today's video we We're going to talk about Argo CD in one shot, This is the only video on the entire YouTube. in Hindi. Where all the Argo CDs are Concepts covered. Introduction to gits.org CD of gitops Principles. How ArgocD is Different How to Connect to Argocd from Other Providers How to setup Kind Cluster on EKS How to run your first Argocd on a cluster You will create the application in all three ways from the UI Everything declaratively from the CLI Even e-commerce apps can be purchased through Argo CD. You will learn to deploy this, look in front and I I'll tell you extended things that Argo What are the features of a CD? Projects, App of Apps, Multiple How to run on clusters? Integrations, Automations, Slack Notifications Send it, send it by email. All in this video. is covered in. If you need observability, Security also has to look at all these things, RBACK, SSO, everything in this video I'll get it, friends. You don't want to see that. Right? HTTPS isn't so cut off. I need it. I need a well-secured HTTPDPS service. I will do the configuration on the EKS cluster. Friends, it doesn't stop there. Argo That's all there is to the CD. But Argo Project There are other projects as well, like Argo Roll. Outs, Argo Work Flos, Argo Events If the entire CICD project stops so much If you have gone, do some interview preparation. Tips, Questions, Scenario Based Questions Take it too. So you will find everything on this video. You'll get it. Let me know quickly in the comments. Argo CD and drop a boom in the chat. Let's get started. First, let's understand Brother, what is this Gitops? Right now we Devops was doing devops. This was Gitops Where did you come from? Who is Gitops? And this Why is Gitops necessary? Argosd Why read? So whenever I read anything Or I teach three things first. I ask. What, why, how? What is Gitps? Why do you need Gitps? How does Does GitPs Work? What is Argo CD? Why? Do you need an Argo CD? How does an Argo CD come about? Work? Friends, as much as all these things I have notes and all the demos Argo CD in one shot for you Mary All chapters have been uploaded to the repository. Wise Notes All Chapter Wise Demos to You You can get it right here. No need to go anywhere else. No. No need to register anywhere There is no need to send an email anywhere. You will get all the open source stuff for free. Now let us understand what is GitOps? First of all understand that this is Argo CD Some things you need to know to read this tool What do you need to do first? Want to? Train with Shubham's YouTube channel You want to go to what you're looking for. Click it. Go to the end playlist. Playlist After you know DevOps in One Shot You will get a playlist. Where I have taught Linux. Kubinetis Docker, Jenkins, GitHub, Shellscripting, Teraframe Ansible, Git Labs Friends, I have read and kept everything. For this. Understand the sequence. First you should read Linux. Once your fundamentals are clear, You should. Then you need to read GitHub. GitHub Because of this you will understand that these gitps Why are things important in. Then you should read I have Docker because I will run it in containers. Docker is very useful for running the application. Argo CD as a concept It's built for Cubanetis. Cloud Built for native applications. Cubis in one shot so man miss it at all Don't do it. Even if you make four videos People, it is more than enough as a Prerequisite. So just by doing these four videos Watch this video, friends. Let's move on. Let's see what Gitops is all about. I'll tell you diagrammatically, GitPs What happens? First of all, understand that Git is What is the version control system here? Is it kept in this version control system? Your code remains. Your code files are stored there. Right? You have your code files. Now, What do the files contain? Your source code. Correct? Your source code Then you can share the source code as well as your Also write Cubanetis manifest files You can see the ymail files that are stored here. You can keep that too. And you can use your Terraform You can also keep infrastructure files. Meaning if you have to build infrastructure. OK? If you want to build infrastructure, then The files are also on Git. If you Cubitis Application Cubis The files of the application to be deployed Your source code is also on Git. Which is your actual application There's a code that's also kept at the gate. If all the things are kept on the grid, then why Na Git became the single source of truth Give. Single Source of Truth. Single Source of Truth. Meaning, it should not be the case that if tomorrow I got a cluster of Cubanetis. This is a cluster of cubes in production. It's running, it shouldn't be like this tomorrow. That the user can come here and do something in the cluster itself. Make the changes. This shouldn't happen tomorrow. That the user went to the cluster and started this application This did not happen tomorrow. It will happen that the user comes and installs this application. I turned it down. I don't want that. What do we need? If the source code is in single source of Truth Complete Your Cubanetis App Yamail The files are located here. Application code Yes, the infrastructure is all here. This should be your operations. That's why Git is considered a single source of truth. assume that operations are performed on it. This thing is called git ops. Meaning, if You should use the application in Cubinetis. What to do if you want to increase the replica as well? So what about Cubinetis in the Ghub? This is the y file of the application, update it. update it. end if update in git Only if this happens will it be applied to the cluster. You will not go here and apply manually. You will not apply in any other way. You will only do it on the git. Why brother? Why should we pay so much? to Git? The first thing Git does is your version Control. So you can see which one is currently The version of your app is running on my cluster Pay. Then happens git your secure. Because merge requests, pull requests, Review of code, all this is already installed on Git Because of this, your security is also a It's visible in place. Plus observability You can also observe who did what and when Committed, who changed what at what time When did you change it? You can roll back quickly. You can do it. You can also update version by version. You can do it by doing two. So git gives you a lot It gives all the benefits due to which Git Ops became so famous. What does GitOps say? Your Git repository should be a single Source of Truth for Your Deployment for Your operations. And so GitApps. Now How can Gitps work like this? I mean, these Cubis. The updates of the Cubinetis app on the cluster How will they work? This cube is for that. A controller is required per cluster. A controller is required that can handle changes from Git. pull .git from your github Bringing Changes to Bridges and Cubinities I'll run it in your cluster. Now, brother. Who will be the controller? This is a service There will be a tool that will help you manage your cluster It must be running in. And the name of that tool is Argo CD. So what is Argo CD? Gitops Helps to do on the cluster sid. So Argo CD always in cluster Your code will always be on Github and You will pull your code from the Argo CD and You will deploy it on Cubis. It's a simple This is the explanation of Gitps, what is it brother? It is called Gitops. Now let us understand that brother, this What is the Davao Principle? Is there any conversation going on here? Which one should you press? Press it. I'll tell you what it means. Remember this. That's the way. You have to do things declaratively. Is. You have to make things declarative. You have to version control things. things have to be automated and you have to do things Observable I have to do it. What does that mean? What does that mean? Declarative means manifest files Or whatever the configuration files are. It's through files. Someone going in the air like this Don't write the command. Whatever happens, do it through files. Yes. That is where the declarative comes into Picture: Version control git which version There is a control system that keeps its commits Track your version history by tracking branches And that's why version control works. It's very important to have. Automated us What should happen as soon as any new change comes on your application or your On infrastructure or anywhere else. be deployed in an automated manner. What is it for? An automated controller Which is Argo CD. So automated methods Observable however many logs you have, however many you You can see all of them in the matrix. Basically your gates He is the principal of the institute. So if brother, this thing If you want notes, then nothing. Link It's in the description. Get out quickly, Argo. CD in one shot. Zoom in if you want. Low End Intro to Gates Argo CD Go away. Whatever I just said in Hindi Its English version is kept here. Here is the English version. I created the Gates principles. Declarative that the email manifest version is Desired State Automated Argo CD Observe, everything is written, brother. Somewhere it's a lie. I haven't said anything. So quickly watch the video. You can like and tell me in the comments Can you tell if you're enjoying it or not? Now, just a moment. Understanding GitPos and Traditional CICD What's the difference? I mean, I have Already ready to deploy the application Jakins was your brother, this is Jakins in one shot. This is a great 6-hour video. So it is already ready to deploy the application Why are you teaching us a new tool? you? why be so mean and difficult with us Are you putting me in? You were no less than a tool You're bringing it with you. So I'll tell you. Then I have written it here for you, why? Gitps. Why is that necessary? I'll explain right away. Why is it important? What used to happen before? This is where your git lived. Correct? Right here. The source code was kept. Then it remained Your Qtys cluster. Correct. Here Your application was deployed. And then You used to do CICD using a tool called Jackins. Let's say these Jackins uncle what you Did you use it? Did you use CICD? Meaning the code came, It was built, tested and deployed here. The code came in, it was built, it was tested, and here it was. Deployed. And cool, you can use DevOps on this. What happened to him? CI C D. Now what's the problem with that, brother? First you push through Jenkins yes. You push the changes through Jenkins. So the developer is our poor developer. They write the code and push it to Git. Correct? What does the CICD say? All of these. checkboxes are in jkins. end then if If your application is correct then it will push or gets deployed. Correct? Now if I to a Jenkins that is outside the Kubes cluster One tool that is kept is the CICD tool Traditionally, he has permission for this cluster. If needed, should I provide its credentials? Will fall. Correct? You'll need to provide credentials for this. of this Jenkins and this Clubis cluster There must be a connection. Correct? Now where you have to provide credentials What comes up there? Security Concern sets in. Correct. Where You have to give connection, what about there? Availability constraint comes into play. Availability means if Jenkins rolls over tomorrow So if Jakins' server and your Connection between Cubis clusters lost When I went, I had all these problems. Now its What is your CI? Continuous Integration is available on Github itself. Do it or do it through GitHub Actions Go through Jenkins. Whatever you like. You can use what you have and do this. What should you do about the CD part? For this you can install Argo CD. Argo CD Put it on for him, and what will he do? He will remain sitting on the cluster. He will continue to sit on the cluster. And these changes He will do this bridge. What will he do? He will do it. changes. So as soon as the developer pushes the changes Did this manifest file or whatever code is there will go to GitP and from there whatever The configuration is that it is pulled from here. Argo CD will be installed on your cluster. If Argo CD is in your cluster No credentials required. Role base You can give him access through access control. You can. No connection is needed because He's sitting right there in your cluster. It will keep doing checks. So this overhead Jenkins has repeated overhead of pushing It disappears. That's why this wonderful Pipeline is written in the comparison chart Direction which is the traditional CICD Always pushes. Argo CD or GitPass Operates on pull mechanism. Which is source of Truth always lives here at Jakins' lives nearby. Because the Jenkins of Joe Jenkins The entire game depends on the file. What's in here? Source of Truth Your Git which is the repository of your manifest file Your help charts are yours The source of truth is Security CICD. requires cluster credentials. Leaking There are chances of... What's wrong here? The tools that are there should run within the cluster itself. So, brother, there is a lot of security. The plane is done. Very, very secure. Done. Share your credentials. Drift Detection Yes This is asked a lot in interviews. The question is, brother, drift detection What happens? Drift means tomorrow your Application exploded. Worried about Cubitis? Gone, dead, crashed. Something. Something bad happened to him. Now, Jakins is not Checking if your application is running Or not. That will happen when his next When the deployment happens, he will go and push No. It's different in GitPop. What's in GitPop? Is it continuously monitored? The replicas of the application that are running and The manifest file in your github is let It has been said in Gihab that two manifests should be given. Requires replicas and your Qubes cluster If I crashed in a car, immediately monitor it. If he does it and goes here and makes two pads then Healing Factor and Drift Detection Corresponding tells the thing to auto heal This is a very powerful feature. Rest is audibility. You need to view the CICD logs to There's nothing to do here. Look at the git history. Who did what? Which intern's commits? Brother, he shows me that it has torn. Many people ask what is DevOps, brother? Do I get a job as a fresher? Friends If you have the skills. If you know What are the security risks in production? What are the availability and how many There are also huge risks if you You know such tools as Argo CD If you study tools, you get a job. Because you have all the skills you need. Making a DevOps Engineer Employable If so, please like this video and Let me know in the comments if I'm right for you What should I do to get you a job? I put a lot of it in videos. It's just the beginning. The new year begins. It's done. I've got some more for you. I'll come. Well, at least we've figured it out. Press what is the principal? I have seen this. Why is Gitops important? See that too. How does Gitops work? It works across the board. I have told you everything in detail. What is the difference between GitPos and traditional CICD? There is a difference, you have explained that too brother. And I've also given you the notes. Is that right? Now tell me brother, what is Argo CD? does it happen? Well, I did a little you know I gave the trailer of Argo CD here that he pulls. But I totally Let me explain. Think of it like an open source There is a project called Argo Proj. The Argo Project. Okay? So, Argo. Four things were created under the umbrella of the project. It went in. This one, this two, this three and this four. The first one to be built was the Argo. CD. Don't go into sequences yet. I'm all four I'll list things here. Then Argo rolls out. Let's make it a little smaller so that the whole It should be done in this. OK. Argo CD Argo Roll out. Then came your Argo events. And then there was your Argo Work Floss So these four projects were made. If you want Let me show you here. Argo Argo Praj yes so Argo Praj if you look So these initially they four big Projects were created by Argo Workflows Argo CD Argo Events and Argo Roll outs from that to make continuous delivery The project that was for Cubinetas That was Argo CD, I mean, very, very This project is a more popular project It is written in Go language. There are so many issues in the repository, There is so much focus and most importantly, so much They are stars. Meaning they are widely adopted. project. Too much, too much It's a widely adopted project. So let's talk. Let's do the Argo CD. So, like you Heard all this in the Argo Project There were projects. ArgocD was one of them. project that does what it basically does For your Cubanetis cluster Deployment does it. There's only so much work to do. What does Argo CD do to your Cubis? Deployment to the cluster. Where from Deployment? From Github. OK Is it? Why? Because it's part of Git Ops. Runs on the principle of GitOps What does the principal say? All manifests The file, all the code, is on ghub. Argo CD What will he do with it? Will he pull it, and where? Deploy your Cubantis cluster Pay. So this is a simple logic. This is what ArgosCD does. Okay? It's a CD Tool. It's a Continuous Delivery Tool For Cubantis which uses git ops Principles. Use GitOps Principles It does. Correct? Now the question arises, how is it brother Here you do how, why and what. What is Argosd, you have told me but Answer to why we need it It is in the gates because all the Security and Overhead and Observability and Logging so many constraints were Argo CD solves that thing, how? How does it work brother, first of all you To understand ArgosCD, use ArgoCD. You'll need to understand architecture. So let's go. Let's understand the architecture. So, for Argo CD There are some components. I hope mine The video should not come in between. ArgocD has some components which You will have to understand it very carefully. The first component is the API server, right? The first component is the API server. Let me call this API server. The first component remains, right? API server. Now the second one remains Here's your repository server. What remains? Repository server. So the repository Server. OK? Here's your repository. server. Then there's the application. Controller. What's yours? Application Controller. OK? Don't go to the diagram. Just understand that. What's up now? So this is yours. Application Controller. Enter this on a separate line. Okay? So these three There are many important things for you In Argo CD. Now let us understand that this How do all three work, what is their work? Does it happen? I'll explain it very simply. Understand that this brother is a restaurant. What is it? restaurant? Which one is yours, whatever I am from Pune Durga if you are from Bangalore Rameswaram Okay, now in this restaurant you What you do is you go and order it. Who's the one who sits at the front desk? Men, cashiers, women, whoever is sitting If you place an order, okay, then whatever you want There are requests, where do they go? Guys go to the front desk. Don't go anywhere else, go to the front desk So your API server is like The Front Desk. It's like a front desk. As many UI components as there are Any number of requests are to come, I have to know the responses, all those things. The API server sees it. API means Application Programmable Interface. The API server that handles all requests whatever you're coming from the command line interface whichever UI is coming from somewhere else All these requests are also coming from sees even those coming from git Requests coming from the web are also He looks and this is the front desk from here The repository takes the request and gives it to you. But brother, this is the repository of the server. Understand the work like this, that the repository It's a server, right? What does it do? It's your Treat Github as a Git repository clones it and it uploads it to the Git repository as a recipe He understands the book and whatever recipe book there is Nor does he take it inside himself. What does this mean? What happened? It's like your chef. The food He makes it like your chef. What will the front desk guy do? He'll take all the requests and orders. things. What is a chef? He will cook. He What will it do? Whatever manifest is on GitHub I have kept the file, I will take it inside me. will understand all the manifest files and will Pass will make a copy of that repository. It will sync it. Correct? It's done. Repository. Now what is ApplicationController? Talking to these people about these repositories Any requests to the server and API service Your Cuban team is coming to talk to them. will deploy things to the cluster. Sync things across your Cubanetis cluster I am in, I am running, I am running, I am not How are things going, everything here So from the API server you You take requests. From the repository server, you You map a repository with Git and in Application Controller Actual Cubinetis talks to the cluster. So this is their little world. Now all of them These are the services running inside. Also your Argo CD's CLI outside The command line interface also remains. And you also have a UI. Who will take all the requests? API server will take over. Then repository server will take over. Application Controller It will deploy it on Cuba. So, this way A great bit from ArgocD's Yours Architecture is made. So, brother, we It has been seen that why Argo CD and How Argo CD Works. From GitHub He will bring the code. Whatever the request is, will process and deploy it on Cubis Bhaiya, this is similar to Jackins X It seems like it's a flux CD Which are the tools that work on GitPos and deploy to your cubes Why am I reading the Argo CD? Then why am I reading Argo CD? Argo CD basically gives you a command line Allows deployment through the interface. Allows deployment through the user interface and also through declarative files It allows for great deployment. So all three How you can do it in Argo CD Deployment with GitApps.FluxCD On the other hand, it doesn't give you everything. CLI will give.jkins.exe a different overload Because it's a part of Jakins. ArgosCD in short for your Cubantis He is very helpful. I have also The whole thing is put here, how it all the components and how they work with the rest I'll show you here. RGO The UI of CD is very much like that It has strength and a very easy UI. Provides notifications. Appcentric model. Where the flux is, it's lightweight. Gates, but his UI is so There is nothing. That's for the CLI. Alerts are for. And so on. Jakins So he is very strong but very complex. It's more. Meaning you have to learn separately. Yaml and it doesn't fit into the entire ecosystem. So you've got a little something for Jenkins X. There is more learning to be done and the adoption of it It is very little compared to Argo. CD. So I hope you understand that Why Argo CD is so important and Argo CDs by Jenkins and Flux What is the difference between them? So this unit is Brother, it's done. How much time did it take you? Half. It took an hour to understand that brother, we are reading this Why are you waiting? Now take some action brother. You showed me the UI of Arbocd. Teach me how to set it up. Let me teach you So what am I going to do? I'm going to tell you all. I want you guys to have an AWS Pay if If you're doing it, well and good. AWS Brother your Come on, it's nothing. You'll see Lindin. Take it, friend. No So you can pay AWS, no? So let's understand what Argo CD is. How to setup it, brother, as I told you. Argo CD on your Cubinetas cluster If it runs, a cluster of cubes is required. First of all for that you Cubitis and One Look at the shot, don't be afraid, I will explain it in this. You can also find a Kind of Cubis at your local store. You can create a mind cluster or on the cloud You can also create one. I'll walk you through AWS. I'm about to tell you. So hurry over to aws.com Pay and deposit it in your account instantly Log in. So this is my account. Zoom in a little. Let's take it, brother. There are no issues. Nice train and it should match Shubham's color theme. It's gone. Yellow dark. Very true. Now I I'm going to EC2. Okay? I'm going to EC2. Now. I'll create an instance. My What is the region? United States US West Two. Okay? That's my region. Now I'm a I'll click on Launch Instance. Done Brother, I'll name it Argo. CD in One shot. Okay, great. Now I'll go to Ubuntu. So that I can feel very sweet and mine I can create a server. Then I'll go to Ubu Got 24.04. Good. Instance Type This is very important, brother. Because instances Type you will take T2 micro T3 micro The free tier one is not going to work. So for this tutorial, if you need If you want to do all the things then I recommend T2 dot large. T2 dot large because It has two CPUs, 8 GB RAM, so all Things will flow smoothly. Yes, it will cost you nothing. Whatever I show you, I will show it on Ubu So if you have Ubu, you'll have beans. There is no difference, so it has become one now. I will create a key pair named I will give Argo Let's create it brother, I don't have it. So Argo CD in One Shot Done Argo CD in One Shot Key Pair Made I will give you RSA payment and create a pair. If you are on Windows and using PuTTY If you do, use dot ppk. Create Here is Argo CD and One Your shot is great. I like it. It's visible. It's downloaded. Now my In the network settings I'm allowing SSH I'll leave the traffic on. HTTP It's OK to turn on HTTPS. You can keep it on or Don't. It's your choice. Leave SSH on. Because I need to connect via SSH. I'll put it in storage. I take around 20 GB because there is a lot I will run all the applications and show you. That's all I'm after and I'm done with this. Launch your instance. Will be ready for within a few seconds. Meaning you are watching successfully. Initiated launch of instance done. You will click on it. And here you will see that with in a few seconds instances pay Jaoge and Apka Argo CD in One Shot It's pending. It will be running soon. I created a test server. It works fine. I'll refresh it. I started getting runs. It was very easy, brother. Now I What am I going to do? I'm going to try this Argo CD in one shot. I will click and go to connect. And all these steps of SSA client I will follow it as it is written. This requires an SSH client. What do I need? I have this terminal. So I have opened this terminal for you. I can zoom in on this if you want. Yeah, that's fine. What am I going to do here now? downloads. Because my pem file is It went to downloads. Close it. Give it to me. We'll make these right away. A little later. Okay? Locate your Private Key file. It's in my downloads. is kept. Run this command to ensure your The key is not publicly viewable. So copy it Let's do it and go and throw it here. CH MOD 400 Read Read Only. OK Done. Connect your instance using public DNS. So that's the whole example. Copy it and go here and drop it in. Enter. Do you want to continue? Yes, brother. I Want to continue? Yes. And boom, you're connected. Done. How much? It was easy, you did it. Now brother, I You need to setup. Enter any commands you have. What happened that I had to do to set it up? Please help. Yes friends, Argo CD in You go for one shot. Good on that topic. Go and setup whatever topic you want. Click on the one you want. And here You will get the complete setup. That's it. By the way, to run this setup You need Docker for that. So let's get started quickly. Let's run all these commands one by one. So what does sudo apt get update do? You will update your system first. So that whatever new patches there are, new The things will be installed with you. Here the system will be updated in what? Six seconds. Wow. You're so fast. Done. Let's update your system once. Then you need to install Docker. Why? Because I need to travel on the local train first. Right? Kind of a cluster of Cubitis. sudo ap install dockerio So I install Docker. It will install in 2 minutes. Now that Docker is there when you install it for the first time. If yes, then he would not have permission. I would have written after installing Docker hmm docker ps so that permission denied He tells me, so what am I supposed to do? I need to give permission to my current user To run Docker, I ran this command I'll give you permission. That's it. Now if I If I run docker pi, it will work fine. No errors. No. Clear it. Docker is done. Finished with prerequisite docker. Now onto the other Let's go. So to create the cluster I need kind for this. Cuban is in Docker This Cuban Is in One Short Video I've told you. Kind version, you won't do anything. It will come. Why? Because it's a new server. Go to the install guide and it's fine. Finish the installation. I'm on Linux now. If you are on Windows or Mac OS Copy that one. I'm on Linux. and the chipset is X86. So this line I do I give you the copy and I go here and throw it away. I am. So what does that do? Whatever kind You need a package for the cluster here I'll have it. Now I'm going to run this thing. I'll give it to you. How will I run it? CHMOD dot slush kind. So this file download I have made him executable, right? Made it. Turned green. CHMOD X means it's made executable. Now that's it. I'll copy this or move it. I'll give it to you in my binaries. I've moved it. I added this file to my binaries. What will happen? What will happen? What if I I'll do a kind version, so it'll do. I've got it. Okay? Done. This one. The prerequisite has also been met, brother. Now I cube ctrl also has to be inserted because Interaction with the Cubetas cluster So cube CL is very important. So install Cube CL from the Style Guide. Do it. Which one do you want to install now? To do it in Linux, to do it in Mac OS, Do you want to do it in Windows? Your choice. I Brother, you have to do it in Linux. So quickly switch to Linux. Let's do it. It's x86. Copy it. I copied it and posted it here. Now this What will happen? The file on the cube seattle It'll download. It's here. That's the way it is now Make it executable. Then move it Two. So let's make it. Yes, here it is. So I created this executable and We did this Like that. Done. Now what's the next one saying? Yes. If you haven't already, do it. And Well, if you have created the executable then Cube CTL version halfn afn running from the client Client version 1.34 is running Well done. So your cube. CTL is done too. What's next? Helm. Yes, you can also take Argo CD through Helm. You can install and normal cube CL You can also install it through. I I'll show you. So if you have Helm installed If you want to do it, open the Helm guide and By going here you will get three simple commands. You have to put it in. Download the script. The script has been downloaded. Now give him permission. Permission should be taken. Right? Okay. I've taken permission, brother. Now this Execute GetHelp.co and Fatak You will also have Help installed from it. Helm is also taught by me. Cuba is in In one shot. Well, hem is also there. So basically Whatever our prerequisites were Everything is done. Now we will form a cluster. You can. Oh, by the way I've set it up here. There's also a script called rgo cd dot sa I have put in it whatever I have just manually all those things, fat fat fat fat I've put you in the script. Run this and everything will work. Okay? Test. Try it. If it doesn't work, try a bridge. Create the request. I approve. I'll do it and merge it in. Okay? It's done. Finished. Now make me a kind of cluster. So this is my kind of config file Kind of like configmail to vi Kind ConfigMail So that will create my Cubetis cluster. Now this is my way of creating a Kind Cluster. This is the manifest file. Let's read it. You should also understand what is happening. Kind cluster means you are looking for a cluster type Writing the manifest file. API version Kind then you make for a Kind cluster You are using the API server for networking. Address. This is basically the address of your instance. You must have a private address. So, get moving quickly. Where are you going? You go to your instance. Here comes your instance. Its private This is the address, copy it and put it here. Go ahead and slam it down. It went here and Your private address is here. Done. This is your private address. Internal API Server Port 33893 He will talk to me. So he should leave it like this. Give. Control Plane your main control The plane will remain of the Cubant cluster and two We'll put the worker node in. So two worker nodes. And there you have your control panel. colon wq enter this is your kind config created. Using this config What do we want to build? We want to build a cluster. So the command is very simple. Kind Create cluster. Cluster name Argo CD cluster of . and Kind config in config I'll use this command. I'm going to copy and go over here and hit enter. What's going on? What I've configured provided, on that basis one cubitis A cluster of is being formed using Kind. So you You can also run it in your local area. Run it on Windows. Well, no Windows at all. Run it. But run it on Linux, run it on Mac OS, Run it on AWS, EC2, whatever. It'll work. Why? Because it runs on Docker. Kind Cuban is and Docker must It'll do. Okay? So it takes a little time. in creating clusters. Why? Why? Because Cuban it is, right, so that means it will take time. Let's create the control plane. Prepare Notes It has been done and this thing will be made. Once this is done, you will get the Argo CD. The project which is there, the tool should be installed You will have to do it. Now, here are two ways to install it: There are different ways. But two ways to I'll show you in the tutorial. The method is Much easier way from the Helm repo and This is what is used in production. Help is fine. And the other way is your cube CTL method: I will tell you both methods No scene, no scene No, I'll show you quickly. Let's do it. Kind of created cluster, it's great. Now clear this up and let's go. production style pe which is the hell It is recommended, okay, what should you do? In the Helm repo add the Argo project There's an Argo Helm repo, add that. Helm too. I taught Cubitis in One Shot So you did it by adding the Helm repo. Argo has been added to your helm Repositories. Right? Great. Now Helm Repos Please update so that you get the latest news. The charts will come to you. The latest hand charts have arrived Yes. What do you want to do now? A new name. Space will have to be created for Argo CD. In what? In your Cubis cluster. cube ctl create namespace argo cd Created. Just once it's created. You need to install the Argo CD via Help. That's it. Copy the helm here. I did it and went and slammed it here. Enter, now watch. What if Helm Argosy is as good as Manifest is all the charts and send that package to your Cubantis Sara will apply within the cluster Will install all versions of Helm If you manage it yourself then you can see it here. Sakta Ho Name Argo CD Deploy Status The deployment has been done well. Great. Now if you like Argo CD's UI If you want to access it, run this command. Cube Ctl Port Forward Service Argo cd server namespace rgocd 808043 So run this. Whenever I cube a ctrl If I forward the port then my The screen is there, the terminal is there, that's stock It happens because its logs come And so on. So what would I do? I'll open a new terminal. Open a new terminal, a new session of type I'll do it. Back to CD downloads I will go and my instance I connect to the instance from another terminal. I'll do it. Brother, why are you doing this? I am doing this so that Forward as many ports as ArgocD allows I have to do that at this terminal. Let's change its color to a blue one. I'm all about port forwarding on what is I will run the command and click on the green one. I'll do all the normal things. Okay? Let's go. Done. Now this command was cube ctl Port Forward Argo CD's Here I Go Who will I give it to? My blue one. I drove over here. Before that, he First if you want to see Cubanatis ArgCD pods are running in the cluster Whether or not Cube CTL Get All In The Name Space Argo CD One Time Look at the things. So your The deployment is up to date. Everything is ready. Your feet are all running. Everything must be ongoing. This means If I run this command. Is my command gone? You will need to copy the lo command from here. I will run the forward command. What will happen? So it's going to be great. Just look at the entry. Forwarding ports, but what I want is I'm here, which is my Argo CD server, right? He could also see the outside world. So I I'll make a slight change to the command. Hafen Address 0 dot 0.0 What does this do? My IP is exposed. It's done. Enter. Now I see my IP. It's exposed. Now I can access it. I will get it. But the port number is 8080. I have to open it. How do I do that? Me? I'll go to that instance. I I'll go to the instance's security group. This is my security group, right? I'll go in. I'll do Edit Inbound Rules. And here I will add a rule that brother The port number which is 8080 is the port brother you Open it. If you want your own If it's for IP, enter my IP. This must open on your IP address. Access any if you want. If you find it, make it anywhere and save the rules. Do it. In production, you can use my IP. Take it. That's it. Now your port should be open. Gone. What do you do now? Back to your I have to go to the instance. Where did this go? Instance? Yes Argo CDA One Shot Pay Jana The public IPP address is Copy it and put an incognito here. Open the browser and open the incognito browser. There are a lot of thoughts going through your mind Block them and this IP address Go ahead and type in 8080 and you'll see it here. Insecure connection brother HTTPS I will tell you when you do it on EKS, then I will tell you. Click on Continue to Site and Go to Advanced and click on Proceed Friends Your Argue CD server is ready for you. What a great thing, it was done within 1 hour. Did we get it to you within 1 hour? Gates taught me the structure of RGCD. I told you. I even got Argocd installed. Help through now in username password Put it admin. How do I know the password, brother? No problem. No. I told you where around here, right? in your notes. So go into your notes and You have to pick up the initial admin secret. So initial admin secret with this command Where do you enter this command? Green In that because it is going on here. Oh by the way if you have this on in the background If you want to use it then control it and kill it. Do it and put an error message before this command 2. So this will keep running in the background. I saw it's still running in the background. Clear it and it will continue. If I Let me go refresh it, it's working. Someone The scene isn't going well. Okay? So, you You can do it. I'll go to the green one. Pay. And where did that command of mine go? command? I'll copy this secret. Command to get the password and go here and slam I'll enter it. So here's my password and I will enter this password into my Admin. And this password. So I become admin. Username. This is admin by default. And the password that I extracted from there I'll click on done and sign in. Friends and I am done signing in Hacker Boy OK, now I'll go to Settings and First of all, I will change my password. Because We will never remember this brother. I don't know what the communication is written in. Where do I go to user info? I will click on update password and change the current password. My password is whatever the communication one is. I will enter a simple new password. Test @123 There are not many problems in life brother. If you want it friend then test @123 and I will save it. New password and My password has been updated So admin is my username test@123 is mine That's the password. Don't log in now, brother. Okay. So, there you have it. You've learned how to set it up. Now if you want to do it with the cube ctrl If you have, you can do that too. So if you If you want to do it with cube ctl then I will give you a I will do the work and give it to you. Kind delete cluster Name What was the name of the Argo Argo CD cluster? Let me take a look. Ah Argo cd Okay, so the Argocd cluster The name was Argo CD Cluster. Do it. Kind Delete Cluster Argo CD Cluster You can blow up the entire cluster. That's one way. Which I wouldn't recommend. You The entire help repo is also deleted. You could have deleted it. But I'll give you a fresh one. I wanted to demonstrate the installation. So here it is. Pay Kind Create Cluster lets you create a new Create a cluster. Now refresh this cluster. In the way I will show that in addition to help The other way is, which was yours? I'll teach you the manual one. The help one. You all got it. If you do, chat with me. tell me which time stamp you are at And whether the helper came to you or not. It's simple. Okay? I told you. It's done. Now I am going to tell you the second method. I am. That is the installation of ArgosCD. Using official manifest cube ctls It is easy, that too is the same method, cube By applying CTL you get a namespace You will have to create friends like you help What does everyone do to help Keeps you already packaged here If I have to do things manually, I'll go here. Pay kar deta hoon kya cube ctl create Namespace Argo CD Done Create Good I will bring it here now. I just put the installation manifest I'll apply it. That's it. Finished. That's it. That's all I have to do. Apply the installation manifest. All the services that are available, He will create all the resources he has. If you do cube ctl get ports in The Name Spaces Are Go CD So you will see that the container is being created. Some containers will run. I don't think so. I am saying that there will not be any runs. Some init containers are running. What are int containers, brother? Cuban is in one shot. You can see from that video So there you have it. Now if I do it again If I run from here then there will be runs now. We'll go. Yes, we're done. We've scored. This too Is this the ready status of the ArgCD server? It will be ready in a short while. It will be made. There is no scene for it and the In this way you have got error lost connection here It had become two ports, the way you Port forward of Argo CD's service You did it in the same way as you did in the manual Please forward the port of the installation as well. Let's check if its port has been created or not. No, yes the running is done, let's do the same now. How to access Argo CD's servers You will do a good port forwarding and here Pay pay you will go and refresh then your Argo CD must be playing but it is fresh So its password whatever you test @ 1 2 3 If you had entered it, it would show not logged in, so log in. If you click on it, this will be your manual method. I showed it to you, I showed it to you with help also. Diya, keep whatever you like brother, it's a joke I'm doing it both ways, in my own way They're good. I Like Hell is better. Because it is easy to manage. This is how you get your password. Password go here admin and this password Slam it and the way you used your username Password updated. Current password and Very secure test @123 and tests I added it as @123. Hit update. Now this We had a great time with the Argocd cluster. I'll keep it. Okay? Did you enjoy it? How about one hour? I've shown you how to setup Argocd inside I taught you. Where did we go? Brother came back, right? The fun part is setting it up. So, install it. Argo CD on client cluster done. After installation of ArgosCD on EKS I'll tell you. Why? Because I need you. I have one more thing to show you. I have to show you that How to configure https in EKS With Argosy CD with Cert Manager I'll show you later. So when I do this one Teacher then I show setup on EKS I'll give it to you. You won't have to wait again and again. So now let's deploy it. Okay. Brother, it's been a long time since we've been here. The Pay Na screen looks very blank. Admin and by doing your test @ 1 2 3 we I've logged in. But I'm not Very blank screen I have to keep it. I don't understand anything about this. What should I do with the screen? So now I'll tell you Let me explain the components of ArgosCD. Look, log in, then you have understood a lot. It's easy. There are many applications. It is important because your application You can use that application by using the same. Deploy sync on a Qubitis cluster Yes. Okay? There's something more important than that. It's a thing. I'll show you. You can change the settings. You have to go to and go to settings. Everything makes sense. Projects Let's understand. So what are projects? Projects Give You a Kind of Group gives. gives a namespace kind of thing Provides a platform within which your applications run For example, you have a The project has become Train with Shubham. Now The applications for Train with Shubham will be What could they be? Train vs Shubham Back end of Train vs Shubham's front end Train vs Shubham's database is three-tier. There will be a project, that project name It will come here. So if you start a new project If you give, you can name the project anything. You can put it in. I started the project with Let's. Named it Online Shop. Add its description to this project Holds Apps For online shopping Website, anything, whatever end you create. what is a nice one saying here okay So basically it works like this, it is done and This is your project online shop, that is not in it. If space was not allowed then I put a huff When he gave it to me, he left, this was his constraint. Naming constraint and this way you You can create things in your projects. Okay? Now by default, a default The project remains the default. If you If you haven't created any project, then bye. Default project has all Things. Okay? So there you have it. Projects. And look at the settings, brother. What else is there? Then comes your Repositories. These are also very important. So what do you see in repositories? Do you? You can also use your Git Lab wherever you are. You store your code in You connect the repositories here. Now I will give you a small task. What do you do? I told you in the description. One or the other repository is given whose name This is the Argo CD demo where I installed the app of apps command line declarative image Updater Applications All the UIs are in place. All the applications I have posted a demo of this. You can connect it to with your ArgocD cluster. I'll show you how. Go to the code. This one with https has come, copy it. Do it. And click on Connect Repo. Now you Want to access via SSH, http https want to go through. GitHub app, Google Which way do you want to go, Cloud? Everything is right here. Select https There you go. You have your Git repository. Name You have to put in. Argo CD Demos you do that You can put the project here. This is very important, friends. You should be online. Whether to put in shop or default Yes. You can select it here. So I put in the default. Okay? Because it is a demo. In the default I put Now you can find the repository here. I had to enter the URL. I did. Now I The repository is public. So you No username and personal access token I would have to put it in. But if it were private, You have to enter all these tokens and then It would have taken more effort. By doing this, you can connect. Take. Where did it go? Click connect. Hey, what happened? This? Get Connected. Hey, what happened to him? Yes. I don't know why, maybe it's a UI issue. Click on connect and nothing happened. I did I didn't even cut this video I don't know why this connect button I was not suppressing it, anyway this happened Successfully connected, that's all you have to do What do you need to do with repositories like I did? I told you here in the diagram that your The repository server is what your repository is for. server, what will it do, it will upload it to your GitHub or Git Lab will save whatever code is stored on it as A recipe book. Interpret the files and deploy them will do. And so on. So this repository server It is very important here. Gone. Just go into more settings. I don't know. Why its What's going on with it? Yes. I don't know. UI I think I zoomed in too much Yes. Who knows why it's causing problems? No. But it's working anyway. Perfect. If If you have some security keys, you can put them here. You can enter it. If you need multiple clusters If you want to connect then you can click here You can also connect clusters. cluster which remains clustered by default That's a cluster. If you need more clusters, If you want to add then you have to use Argocd Add via CLI command line interface I have to do it. I'll teach you that right now. You. It's done. I've explained the project. Accounts and themes, I will tell you all this. I'll give you a dark theme, a light theme. You have to do it. It's your choice as to how you want to keep it. I like it a little dark. You see? My room is a bit dark too. I also like dark t-shirts and dark things. I get it. That's up to you. You do it. You can. Now let's quickly do something nice. Let's create a project. So let's start with one. I'll demonstrate deploying a JGinx app. You. Okay? So I'll go to the new app. First of all I have a cluster which is my I'll add the cluster. I have put all the steps on it. So you Get on this one. Great. Now I have the Argo CD. which is the command line interface from which I I will talk to your cluster about that. You will need to install it. So the CLI Install it. So this is the complete command. Copy it once and go here and do it. Cool Dabak. He threw me here and what's going on here? I'll go to Argo CD's CLI. I would use a command line interface like Argo Well, it's not finished yet. Argo CD Argo CD Yes, done. Okay. If I Kia Argo CD version client to here I should do it. Yes, I did. Okay. Done. Now What should I do? From my command line I'll log in to the Argosd server. All the Nibb Nibb Pookies ones Don't take this as a bad sign, log in. argo cd login is the command that lets you log in You will need to login to the public I need an IPP address. So I'm here for the public IPP address 35.162 Here it is. I'll copy this and go here. I'll throw it away. So that's it for me to login. I'm done. I'm done. Now I What will I do? I'll give you the port number. I entered my port as 8080. Now What should be next? My username and My password. Look, we have the password. Has put in a very strong test. Test @ 1 2 3 Now you must have understood after seeing the security That's why it's unsafe. Why? Because I'm not using https. HTTP I am using it. So if you are using P Type in "insecure" and hit enter. Ad Man Locked in successfully. So brother, log in to I'm done. Once I'm logged in, The type of cluster running on your system that cluster is being linked to your Argo CD Let's go clubbing with the server. Let's go So Argo CD Account Gate User info. What does this do? Your user's What is your name? And which group are you in? Is it added? Group part then Rback one I'll teach you on time. Oh brother, it's been an hour. My throat was a little dry. Okay, any scene? No. Let's go now. Okay, here we are. Right Helm and Manifest Installation with manifest file. Helm is very flexible. I like helm I actually like it more. But if you If you are a beginner, you can do it through manifest also. No problem. I read it. OK. Is it? It's done. What should I do now? I The next thing to do is deploy an app. You have to do it. Which app will do it? You can do it from the UI. Here you go. Okay? Do it with UI. But first You can do a few things. This repository I have put the links in the description. Clone it. Okay? Reading from the UI. is, to read from CLI, to read from whichever Well, I'll teach you all three. First I'll teach you the UI part. Okay? Let's go to the UI part. Let's go through the approach. Preregistration what-ifs I need a cluster, I need an Argo CD I need the CLI, I need to be logged in. I need another cube seat. All four of my The previz is done. What am I going to do now? Okay? Don't look at this. I'll teach. I teach. First of all, what do I What should I do? First, I'll add the repository. I'll do it. I did it. Yes, this part. I did it. Correct, corrected. Yes. I'm trying to setup my Qubes cluster on Argo. I want to go clubbing with CDs. Let's go there So, kube ctrl config gate Context What does that do? My What is the name of the cluster? Village What is it? I get it all here. Now I'll just do it Argo CD Cluster Add whatever is the name of my cluster. Give it whatever name you want to give it. Give it to Argosy cluster add to which cluster? So I Kind ArgosD cluster that I have I want to add it. And what should I name it? I want to name it ArgosD cluster. I want to name it Now what I'm adding is HTTP. I'm going through it. So Hafen Insecure Enter. This will create a new service account. Brother What is a service account? Kubenet is In one shot so that your roles, Responsibilities, Connections, Role Binding All those things were made possible. So, Argos CD Manager A service account named will be created which will You will be able to authenticate using the role Binding and so on. Yes, should I? Done. Saw the role binding of the cluster It has been created. Another role has been created. ArgosCD Manager role Some access will be to deploy to get Resources in your Qubits cluster. This is a very important step. So, cluster Added Now if I go to Argo CD Cluster If I list it, I will see it here. This is my cluster whose name is ArgCD clusters have been added. List Done. Now someone inside that cluster So if I Go to UI, go to Settings and If I go to clusters, you can see I can see the Argos cluster. Very Great. So this is how you add a cluster. You do. How did you add it? Argocd. Installed the CLR. Your Cubis ArgosCD cluster Added the cluster with the add command. Finished. That's it. Now I'll go to the application. New app I'm building a new app. I'll call it Inject. Because I I want to run Engineering without anything. Automated R Deploy from CD I want to do this on my Cubitis cluster Pay Run. Project Name Project Mera The default is 0. So I'll put in the default. sync policy if I want that Joe of Cubitis There is a cluster and my Inject app is on it. Automatically sync Manual sync If I go then this sink policy remains. Now I'll put in the manual for... okay? I click on auto create namespace so that if I have any name space If it is not created then unnecessary errors will not occur. This is the source of engineering. Where is the manifest file? I I'll show you where it is and I'll tell you was right this is the Argo CDs demo It has a UI approach, engineering and I studied engineering in it. The deployment file is installed. By the way I haven't put it in. Our promising Amitabh Devops is Amitabh Soni who is Project Pay is the main contributor. He put it in. So he put this in. Created an Engineering deployment file which has three replicas. 1.25 uses the image. On this port It works. It uses so many resources. So this is the manifest file that is stored on git. It's there. Correct? It's on Git. This is my server. It's not on this server, it's on Git. So if I were to put my Cubis cluster on If I want to run Engineering then I can directly I'll connect the gate. So what am I doing here? Will I do it? The repository URL is in the Shubham will put 153 Argo CDs demos now. Which branch is it kept in? Let's see. Which one is there, it is kept on the main branch. Let's pick the main branch, brother. So not the head. Yes, brother. If it is main, it is kept in the main branch. So I put it in. Now that branch What folder is it in? What is the path? See Let's take a look at what a folder path is. Argo CDs Demos in that repository The UI approach is the injectix path. So I I will write it in the path brother, yes its UI The Underscore Approach There's some issue with the UI, please check it out. The Argo CD Project guys have put together some Not done. UI Approach Engineering Just put it in. Inside his manifest The file is already there. And by doing this Destination is multifaceted. Source and Destination. So what's my source? Git Gitapps. Git Is the Single Source of Truth. So that's my source. What's my destination? The cluster's URL is then Where from? This is 172.131 this is my own kind of cluster so in this I will put the namespace in default I'll give it to you. Why? Because I have my code. The name is included in its metadata. If there is no space then it will run by default. So if you have a namespace Just put it here. It will auto-create. OK. Yes? Enter namespace. That's all you have to do. Just do that and Click on Create. As soon as you create Friends, you will click on it, such a great thing Project application will be made in your Default project. OK? Project You get it, right? Project it inside. your applications. So these applications It's done. Great. Why is it yellow, brother? Gotta be green, right? Why out of sync? Is it? Why? Because I've changed the sync policy. manual was inserted. So if I Let me go to cluster and write cube here. CTL Get Pds Such No Resources Found There's nothing. Now look, I'm just here. I will put it in the sink Auto create name in this git repository Should I synchronize space? Do it. As soon as I synchronized the inject service. Pull done. Inject's deployment pulled Three replicas started being made. Friends. Argo CD for you. That was so easy. Now if I will cube seattle get pots Ingerix is running drop a boom in the chat. If you understand that from One UI How to access the application from the UI of Argo CD You can deploy it through Gits. Hi brother, as long as your eyes are open that browser And until the visual images are visible, brother. It's no fun. So let's give the engineers a go. Yes. The same method is with port forwarding. Hey, is it hanging? Any scenes? No. So what will I do? Cube Whistle I'll do gate service. And here I look The engine is a service Cube CTL Port Forward whom service injects service port Forward it, forward the port on which one? You map port number 80 to 8081 So this is the service port that I have here I will write the port of my system. I'll write it here and I'll address 0.0 Enter now my 8081 engine The map is done. What am I going to do now? Mast I will go to my instance. I'll go to my security. Go to the security group. Edit Inbound. I'll just rule it out and add it. Who? 8081 To If you want to put it on my IP then my IP Put it on. What's here? Engine's running. And what's running on the 8080? Argo. It's there. And I'll save it. Simple. What will I do now? This is my IPP. The address is Bus 8080 on this I will turn it into a forest. And what should happen to me? Not HTTPS, bro, HTTP Welcome to Inject. What's the matter? You deployed it, brother. Great engineers to use on your cluster. RBOCD. Now remove the engines and take any image Put that app and your app will be deployed. Through RBOCD. But brother, what UI? Is this the right way? What you have said here methods were described Giving Yourself Deploying Your First In the application UI method, you have used engineering I told you. Is this correct? Look at the UI. The chances of making mistakes increase with this method. So you can use the CLI You can also run it from the CLI method and It's easy. I'll show you. What do you What do you want to do? Nothing much. You first Deployment, which is this repository. Here's how to switch to a CLI approach. All the commands are written for you. Great, just one command. argo cd app Create. Argo CD App Create What will happen with this? This will create your application. Brother, what is the benefit of creating an application? Create an application gives you a small thing You will find out where to put the repository brother. What will be the CL path? Destination What will the server be like? What will the namespace be like? What will be the SIM policy? Self-feel to Joe What you did in the UI, these ones, these ones Quickly go to your Applications on the UI This one that was filled Which one will be yours? Via CLI It will be. So let's cut it out. Let's do it via the CLI. So, the rgo cd app Create is this command. But it requires a lot of You will need to enter all the flags. You'll have to enter them. Here are those options. Come on, brother. Let's put it in. So Create the text first and then insert it. Yes. Let's create a text. What does it mean? Is it? I was here. Hip Tress I used to work in a company where Omkar Sir was there. So Omkar Sir You should have gone somewhere and pasted it first. and would go here and edit things were. If that's your username, enter it here. The boys used to give Shubham 153 and he became that. CLI approach Apache or whatever your There are demos inside it which are Apache The app I'm going to show you is on this path The Apache CLI approach is provided here. Apache's deployment file is And So On So what will be the path CLA approach a Apache so What did they do here? These paths were entered, now the destination server The path of your cluster here Which private URL will come, then that How to get it? ArgocD [music] Argo CD Cluster List And this path, this one, this one, that demand So copy this and this Go to the destination server here Slam it. Slammed it. Oh my god, my brother has opened it. Hey, stop it. Okay. It's done. Oh, it What happened? Okay, okay. It's a little... We have a modern editor, so he I wanted it like this and I wanted it in this was https What? HTTPS Done. Done. Destination namespace Default. OK? Sync Policy Automated. Now what does sync policy automated mean? How did we create Ingenix in the first place? Clicking the Sync button It was lying there. If you automate it, it won't even click. Cell phone means if you accidentally You deleted the post here. But your Replicas to in the manifest file on Github One for all that is written, sink it. It will do it and heal automatically. Autoprun whenever you want and even destroy It can be done automatically. This does not mean that That he will blow up auto prune means next Whenever you reload at the time, the old By deleting it, he will make it cool. Copy it brother and go and post it here. argo cd app create apache app you app The name of the repository is this, the path to the repository is this The path is the destination server, see it is done. Glitch in destination server As I said, modern editors are like this Do not use modern editors I would say use Vim as well. Okay, well it's a matter of time, okay do this diya and enter Application Apache app created and if you You can go here and refresh it, can you? Hey, there was no need to refresh it. Your Apache app automatically displayed there. The EngineerinX app is also built. What's the matter? I'll get into it now. It's synced automatically, brother. Apache service Four replicas were shown on Git. It was shown here. Replicas for so brother I made four replicas here. If I I will do this here cube whistle, get pads so look There are four Apache's running. What should I do now? Like I injected I had exposed the service of I'll expose that too. So here I am Cube Seat Port Forward Engine There was a service, similarly there is Apache service also. Apache service is here and I will put the port number at I'll send you to 82. But brother, do you know? It is running on port number 80. Let's see. It's working anyway. If you What can you do if you want to confirm? Cube CTL can do gate service and you You will see that the Apache service is on port number 80. It's working. Okay? Done. So, this wood Work Enter. What do you have to do now? Go to the security group. Edit Go to Inbound Rules. And go here and click on 8082 has to be added to your IP. Whose name is Apache. OK? Apache is done. Save rules. Now if I replace this port with 882 So Does It Work? Yes, it works. So you can deploy AP as well. Given. How? Command line Interface rgo cd app create. Brother, this is a very powerful thing. You I told you from the command line as well. I told you from the UI as well. It's been an hour and a half now. You can do something that I don't want to command. You don't have to go in line or go to UI. And my app gets deployed on Argo CD Through Declarative Approach Meaning So I will create a file like this: I will create a yaml file like this The file in which Argo CD Application of What should be its repository? What should be its cluster? What should be the source? What should be the destination? What should happen? All these things are one It should be written in the manifest file. And this I have the manifest file uploaded to my git. This way I can do the actual git ops My Q is also my Argo CD setup. gitp is in .yaml of my argo cd is also in git. My Cuban's The manifest file is also in git. Everything Git pe hi hai. So Git becomes the single Source of truth making it pure git offs. Brother, please get this done. Let's get it done. I have also approached you about this matter. And this approach is nonetheless declarative. Approach. In the declarative approach I will give you a I'm going to give you an example of an online shop. This is an example of an online shop, how is it How is Docker built? Docker in One How are shot.ml files created? Cuban is in one shot. Its CICD how What do you want to do? Jakins and One Shot. Get out of there. This is the image that our Amitabh Bhai has given. I created it. So this is the image I'm going to use. Yes. Okay? Now what's the idea? How? This Yaml of ArgosCD is your Cubanetis The cluster will understand. How? So Cubitis in One Shot I have a funda I taught you what is called custom resource. Definition CRD So this Yammel has Argo CD in it CRD of the application is created which You are looking at the application, right? This one, this one. A CRD is made for this thing and that CRD That's the only difference that applies here Or that's the only trick. So what should you do? A CRD needs to be created for the application. What are the prerequisites for that? Kind cluster needed. Argo CD install Need, Need CLI and KubeCettle We have all four of these. Is it? It's fixed now. I added the cluster. Done. The cluster is running fine. What do I do now? Create a CRD Creating a CRD is too much. It's not difficult. I'll explain it to you. To create a CRD, you You have to create an application, right? kind of an application because you are a You will create the application in Argo CD. Its API version is rgo prog.io alpha v1 alpha this is what you need to enter. So the API version comes from A. Bhaiya where did you get this You? I'll tell you. So Argosy official Ymail application Kindly when you write all this then here Where did you get the full mast? Yes, here. You get his complete details. How to do it Is it? I got it all from here. I learned everything from here. So you all know this. So that you don't have to learn the whole thing, this Argo CD is This is a one-shot. Quickly like and comment. Tell me how you feel. And one more thing. I noticed after a while I I'll tell you. I'm in a dilemma. I'll tell you. Anyway, coming back. So, Yale file. Basically it is equivalent to this new app. All these fields are written In your CLI, you have written this command I had put this ArgocD app created for this. Equivalent Yammel File This is Kind Application Meta Name Online Shop App What is this This will be the name of your application. Why will the namespace be rgocd? You'll also find ArgocD's Namespace Cubis The ArgosD namespace inside the cluster This CRD has to be custom made in it. Resources. Okay? Now this spec in These fields of yours were named The project name and all that will come here. Spec Project Name Project Default Source repository https ghub.com You can download your Whatever your username is, enter it and do it. Your username will be created. Target Revis means Branch Main Path is whatever your path is. Where did ArgocD go in demos? A declarative approach here at Demos It is. Where has it gone? It's a declarative approach. And All these files are kept inside it which we This is the online shop app that they are making. This is very important. So this I've edited it to my liking. Anyway. This path, you have to change it here. You will have to do it. If you want, you can do it on your local website. You can also change it by cloning it. But this What will be the URL of the server? Let me know in the comments. What am I doing here? Do you know what I'll put here? Here I'm going to put it in the cluster list. I will put it here if it comes out to me. I put the latest one 31 and I will do it. I'll commit. Okay? So I have GH. This is the manifest for creating CRD She's in. So this is my GH report, this is my Server URL Sync Policy Automated True If the cell field is true, it will remain automated. Mast mujhko click-click kar sync nahi I'll have to do it. It'll work itself out. Okay? Done. that'll be. Now this was my file, what should I do with it now? I'll apply it. Where? Shall I apply brother? Understand. I will apply this to my on the cluster. So I would copy this I can either copy it or use Argo. I have CD demos on my server. I can clone you. So get cloned. Cloning into Argo CD demos is here. Gone are the CD Argo CD demos so I Whoever was doing it on the git, come here. I will go now. Declarative In the approach and in the online shop I have what Online shop appl the online shop app. I need to apply this. So take a look. Back to Configurations. This is the API version. It has a kind of application. This is its name This will go into its repository. URL. This is its destination URL. This is the namespace. And that's it. Done. Now What should I do with this? I should apply it. I will do this on my cluster. So cube ctl Apply Hafen f Which? online shop app.L than What will happen? This is my yaml file, this is my cubit The cluster will be applied in the namespace ArgosCD Enter Application Argos Praj Online Shop App Created means here if I will see Cancel then online shop application should be created It's gone. What's the matter? So I told you I've shown you how to do it. I've also shown you how to use the CLI. I showed it to you and I also gave you a declarative Declarative means yaml file So this thing is working. Okay, my What's the point of online shop? Online shop too I'm ready. What's up? Well done. OK. Let me check and run the online shop. By doing. How to do it? Cube CTL Gate pots. OK, there are three things to run online shop. It's running, no problem, it's great cube CTL Gate Service A online shop service with port number 3000 Pay is running okay so port forward when What should I replace the Apache service with? will go online The shop service will be available for those who are in the cluster. The port inside is port 3000 And what I have to keep out is 8083 tax I'll give it to you and open the address. Enter Port forwarding is done. Now I'll leave. I'm in my security group. Same again. Edit Inbound Rules I will change my IP to add rule 8083 what online I will give access to the shop Save Rules Done What a great save, very nice and If I run it, I 88 3 p. The online app is deployed. Your e-commerce The application has also been deployed friends. Now what is the benefit? The benefit is that this This is my app, now I don't know what I will do. Are they? These three are moving. Now look at this. I am the other one, this is mine, yes so What do I do here? Cube CTL Gate Pads This is the page of Pads Get Kiya Online Shop. No, I will delete this, look cube. ctl delete If this enter is deleted then delete it from here also. It should be done if I refresh it. should I If I refresh here, git git What is he saying on the git pay which is the source of The truth is, it says three. So, three here. It's running. And here if I look at the cube CTL Gate Pots There are three running. The one I deleted Done in under 24 seconds. What a blast! So, the one you have at the gate, that's it. Becomes the source of truth. How do I show you? Now I will go to Git. Okay, not Argo Project, brother, not here. I'll go to Argo CD Demos Okay, now I'm going to take a declarative approach. What will I do with the deployment of the online shop? I have three replicas in it, I I'll increase it to five replicas, okay? Commit Changes committed OK Commit Now I delete it here. I gave this pod a cube, right? ctl delete pad this one got deleted but cube ctrl gate pids if i do o this sync did not auto sync yes this issue Auto sync comes, yes this issue comes Because your HTTPS I am insecure, that's why I feel like I'm drowning, but no one else is. It's okay if you just put it in the sink Click and click on Synchronize What if two? That's your latest commit. will pick up which was this update online shop which I did it 1 minute ago and five days ago I'll add it in. You see, some pods and a few. Seconds ago are written. And this way Say my git becomes the source of truth. I can make as much noise as I want here. Cube CTL Gate Deployment Cube CTL Get Deployment Online Now Shop Five's Cube CTL Scale Deployment Online Shop Huff Huff Replicas is equal to 10 letters from me Scaled it. Okay? Scale it. CubeCTL Get Pads done. You will see that no matter how much I rock You may have created a stir. No matter how much noise you may have created. I'll tell you. I'll tell you. As much as you want We also made a splash If you look at the running, one Two three four Five Do you understand that even if I go to my local By breaching security by entering the cluster I'll sit there doing the scale. Even if I sit down to scale, I am still on that scale. I can't do it, or I can delete it or I can't modify it. Which is on my gateway. If it says five on the git, That's five. That's nonetheless single. Source of Truth. So this is how I git Can I tell you what my truth is? How many replicas do I have running? Five Yes, five are running. If I Scale and Deployment I should make the replicas one that the five brothers Hit delete. You'll still get paused. You'll only be able to do that. He immediately became that. This is non-age drift control. Tomorrow I accidentally killed someone and ruined my life. to Potts. This becomes a single source of Truth. Did you enjoy it? And this way You... Yourself Great application by applying the manifest You can create it. You can verify it. And so on, what's the matter, what's the matter? The thing is fantastic Let's try a small task. Yes, I have shown you all that on Git. If you change it there, yes, this auto sync one I don't know why he is raising an issue but some scene No, I deleted it and showed it to you. It would be fine if you test it yourself. Tell me if you were able to make it this far or not. Such applications can create questions No. Take a screenshot of this thing for me. Tag Lindin on whether you Argo CD Are you enjoying these one-shots or not? And Let's move on to the next topic. So, next. The topic is, where did ours go? Okay. Let's go where? Have we arrived? We have You deployed the application. I've seen the UI method, I've seen the CLI. Yes, I've seen the declarative. Now Let's take a look at some of the core features of ArgosCD. Let's talk about the core features of Argo CD. If I do, there are a few things you should keep in mind How to make projects? App of What is the pattern of apps? Multi-cluster How do you manage your application? How is it made? These are some of the features. Rgocd K. But what is most important? If you want to do any of this, you You should be able to write a yaml file which I hope you People using Cubanities in one shot or right now You will learn it very well by then but I will tell you I want to teach in depth because if If you understand how to write Yaml, then you can do all these It's very easy to do features like this. First, let me explain what the project is. It happens. I've talked about it before. UI was also shown in the project that If you go to your settings, Projects happen here. This is us People created such a project as online shop It was a new project. What is this? It There's a group. It's like Cubis A cluster has a namespace. The amount of access you want to give to the space The number of resources to be grouped Have to combine, same as in Argo There's a project. So, in a project, you What do you do? You create projects and You add applications inside. This What happens? You have a Created project Front End Project. In that you created an application online shop Applications. Now you have access to all the You have to give the application to all those to whom you have to pay the fee. You have to give permission to this project. You can link it. I'll explain it to you. Very comfortably. Think of it like this: if you give me a Yamamail If you want to write a file, how should it be? in terms of projects. So Kind Joe It should be yours, it should be Bhaiya App's project. Correct? Then the spec should be What is the name of the project? What are the permissions? Project app Which one is going to run? Which repository should it be? All of them You need to know how to write permissions. So I Let me quickly teach you how to do a project How to create a yaml file and how to apply it It happens. It's very easy, brother. Very much Easy. Then Vim creates a folder I'm here. Some project folder Is it? I can't see it. So MKDIR Projects OK, let's go to CD Projects. What am I going to do here now? A nice one here project.yml this is a great write up I will give you this project Dotal, it is very There will be a simple file in which your API What will be the version, will it be your Argo? Question dot In IO, your V1, all these things which I have put it here. Now if you'll go to that Argo CD in one shot and if You will go to the next chapter in this Which is Argocd features and if it has If you go to projects then here you will You will get the project. So V1 Alpha V1 which You can also use it from here. Now The important part of this is that it is kind What will happen is that this yaml file that you create What kind of person are you asking? So this is your This is your project. Correct? It has some metadata. I will have the name and your name will be the space. Namespace generally whatever you want for the Argo CD. The namespace for the yaml files you create is Your Argo CD remains the same. Now the project What do you want to name it? Let's say Front End Project. So Front End Project Lets name it what you want to give. That's your metadata. Now come your on spec that what its The specifications will remain. For example, if Give you a description of this project So whenever you go here, new What happens when you go to the project? Project name and description It comes. So put the description here. This Project Holds a New Front End front end app. So these are the new front end apps. Now its source What is a repo source repository? What do I put in the repository? My repository was these Argocd demos So this is the demo repository. I'll put this in. So here in the code I'll go. I copied it. Now you can differentiate it. You can add your repository. Whatever project is in your repository is kept, whatever application is kept, Drop his repository over here. Now that's the source. Source report And here's the list. So your source repositories. You may be in multiple repositories You can also take out applications from here. Now Your destination arrives. So where is the destination now? The destination is where your clusters reside. Now what do you generally give in this thing? you give And your server lives there. Basically, in the server. Your Argo CD server Private URL remains and namespace if You need to enter a namespace from Let's If you want to put front end then you can put name space You can put it in. Now the server has your server's If the URL is there then quickly click on the server link here. Let's extract the URL. If you want to get the server URL, What happened to him? What happens sometimes? Is it? That happens. Meaning, it gets stuck. It's completely fine. It's okay. I I'll take it out in this. So Argo CD cluster What will happen to me? You will get the URL. Now take this URL and Put your project into the server in ML I'll give it to you. So this is my URL where My application project is about to be created. Okay? Now here's the most important thing. It comes to what roles there will be, What permissions will you have? So I'll give you a Let me explain. It's simple here. Cluster Resource White List means who will tell you which ones from which groups Resources are needed. Group means look at Cubez. I mentioned it in One Shot. Apps V1 V1 V1 is a group. Your neighbors are inside the group. Name space service, all those things come Then deployment within apps, all that In groups, that group and its kind Everyone is allowed. So this cluster resource I will whitelist here. All types of things in cluster resources All types of resources are allowed to me. Now who are in the namespace whitelist? Are you allowed to use namespaces? So I I'll allow all the namespaces. Now that The most important thing is the roles. Because this is your group. You can call that group Which roles do you want to give? What kind of access do you want to give here? It stays put. So I made a roll Something called Front End Admin. There are policies. The hyphen P means policy. Project Project name What is this? Ah yes, here's the project. name front end team so front end team and Front End Admins: This role is for this project. It is allowed for this. What did we name it? Was it a front-end project? For you know similarity, we also name it Let's keep the front end teams. Okay? So That we do not upload separately on Git. It has to be stored in the repository. Front end teams. Okay? Great. So front end teams. And the team is there. That's it. Now the project front end team The role name will be Front End Admin. Applications All applications Allow the front end team to do everything. These are its entire policies. How do you make them? Which ones do you Do you need an app? Which ones are there and which ones are not? Should I leave it or not? You put here whatever you want to restrict. You can. You have to deny it, you have to do it. You can put everything here. And I'll put this. I will give you my in the yaml file and put it here in my Rolls. So the rolls are also added. So basically I have created this mail which is given to me by API version. Kind App Project. All these things come in meta data and your spec and whatever your source and The destination becomes all of this. Just once Let's take a look at the CAT project. Everything. Right? Yes, the repos in the source repos Yes, I think everything is looking good. If What can you do if everything goes well? Yes? Cube CTL Apply Hafn if Project Dottle in the name space rgo cd will do this. You won't get an error. Enter the project front-end team Created. Now what do you do? Go here and Look. Right now, what you have by default The default is the project and There's an online shop. What do you do now? You can Hit refresh. As you refresh, you You will see that the project named Front End Team It has also been created. And the front end team The project holds a new front end app. And these things that you made here cluster resources and whatever These roles, events, all things are added here. It's been. It was interesting. It's interesting that If you learn how to make Yamal then you will Put Yamel in the gate. As soon as you've got Gibe Once you enter Pay, everything will be automated. As soon as your cluster is created, you will be able to do all this. You can apply here. So all these things What is the default project? What are the project roles? How Want to make a project? Everything in Notes So that you can get it anywhere No problem. Yes, this Argo CD. From the project list, you can use this command You can see which ones you have. projects and which ones are there? What are the resources – what are their destinations? You can see everything here, it's great now Under the project, you have to create an app. From a declarative approach, okay, meaning Yamil If you want to make an app then here is an M I've written an email for an Ingenix app. There's just one small thing you need to do What you have to keep in mind is that I did all this I have already taught you how to type applications. This is an application type CRD. Resources will remain. In Spec you You must enter a project name. If you If you don't enter the name of the project, then defaults to . You will have to enter the name of the project and Everything will be alright. So what should I do now? I'll do it? I'll use this thing. You want it? So I can even write it down in front of you. VIM Ingeninx app. But what a time it is now. If we If I start writing code by hand, then it means I will The elderly will believe it for a few days later. So let's save some time and Let me explain. Very It's not too difficult. That's what we People had seen in the declarative approach That your file is kept here. Correct? It's right here. What's the deal with that? Is it happening? This way you just apply. With this you just apply on Your Cubis cluster. So I'll copy this I take it and throw it here. Now what things need to be changed here? You? First of all, you need to know your cluster. If you want to change the server URL, you can change the cluster's For server url I do one thing. Let me fix this tab. See, something went wrong with this scene. Let's go. OK Argo CD cluster list. So here's our URL and let's throw it away. We are here. So this is what happened to us. Destination. Now your repository's The URL is whatever you want to see in Argocd Demos Your username for like Mera Launde Shubham 153 This is my complete answer. Download this application Where will you run it? In the Project Front End team I'll drive it. Which ones do I have right now? Is the project application running? If you Look at the project here carefully. project default project default Project defaults, so whatever application is running It is running on the default project What I want the front end team to do is If I go, I'll just change it. Now Launde Shubham in UI Approach 153 This is an Ingenix application. So that path It's just the path, it means this. It means this. These inject into the UI approach in ArgCD Deployment and service of is written. Yamal, you'll make it. It's done. That's it. Here's its path. And that's it. Its sync policy keeps everything automated. And create namespace is set to true. Yes. OK? Done. Finished. Escape colon wq Enter. Now I want to install this app on my ArgosCD. I'll run it in a cluster. Cube Ctl Apply Halfn F Ingenix App Dottle In The Name space rgo cd enter application created Now if I go here, you will see a A new application was created called Enginix. front end project front end team so who You created a new project. This destination came under ArguCD Cluster name: Whatever your cluster name was Space front end and this great healthy your The app is running fine. I've seen the full sync from Git. How did you create a project? An application. Created that application under that project It's easy. Too much. It's not difficult. What do you need to do? Let me tell you the hack. Whenever you You will watch the video and practice it. Repository to Argo CD Demos and Argo CD in One Shot does it very well You have to read it. Get it right so you have hands-on experience. you also did it, you also studied the theory, you Did practicals also, you understood these short I realized that all these things are very easy, you know? It is. It's just hard work. Hard work too One time for the first time you saw Yamil I have to learn to write that both of these things that I have written Lemmel banaye na engineering app and This is your first time writing a project. You have to learn it. Then you can put it in a gate. Put it in the repository. Reuse it whenever you want. Look, not many things change. Only Some cluster URL namespace all these Things change. The rest of the configuration It stays almost the same. Well, that's it. Now. What will you do? Now let's move on to projects. So that's it. The app moves in the pattern of apps. So, imagine I have an app. There is an app for Engineix, there is an app for Apache and there is an app for This is my online shopping e-commerce application. Now I'll make an app, another app. I'll make another app. I'll do it a lot. Once all the apps are done, I will keep making apps. I will go. That Majnu Bhai had told me that you He'll keep loading bullets. I have no game there. So basically where will you create so many apps? So you do one thing, you make just one app. Create an app that will become your master app. And all these configurations can be done inside that app. Add it. app of apps We have to create a single app which contains all these You'll be covered. How will you do it, brother? Very It's easy. I'll show you. Now, the app of apps. What do you need to go to? Go to the App Store. Pattern It's a pattern. It's a pattern Where you can create multiple apps Yes. I'll show you what it looks like. It is. It is very easy. It is very easy. What do you need to do? You need to type in the application. Creating an Application Kind of Application It is. Just within the path you have. Write ymail files for all applications I have to give it. Brother, what's this? Simple. It's just that, friends, your which is the process of creating a yaml file Your method should be very simple. Like I made an app, I made a y apac app In this app I wrote a y file Then what I did was I installed another app. created Ingeninix app in that app its I wrote the yml file and created the third app. which one did you give Online shop app wrote its ml in it All I need to insure is this It is to be ensured that whatever these apps yaml file, my configuration is correct in it It should be, friends. So, for example, this In the configuration file I am Amitabh The brother has entered his username. It's Completely fine. I'll put it in, boy. Shubham 153 So this is my repository. The URL where my Apache app is placed is I showed you the command line method earlier. My Apache app is placed on that path. Now this is the URL of the server, I have put it here. I'll pick it up from there. Where's my server? URL? Here it is. So this is the server URL I'm going to use here. I will pick it up. It's done. So here's my app, the Apache app. I have committed this. on your Git. So, on Git, use an application. The ymm file is in. Now this is how I I will create the yaml file of another application. Created the yaml file of the Inject app. It is the same code that is in the injection one. It's kept and this is basically what I have. boys Shubham 153 This is my getb repository This became his path and this became mine. The destination URL of the server becomes My Ingenix child app is gone brother Child app means this was the diagram like this Understand that this is the parent and this is the child. Yes. This is Child One, Child Two. This Child three. And in the same way I I'm going to change everything as well. Like this I'm done, yes, I put this in. Now the third one The app that I have is my online shopping app. I will also change it and put it in so that it Download your manifest file from my repository Pick it up. Boy Shubham 153 And this is mine Destination URL commit now my same I want to write a file which is the app of apps Which file is that of the app of apps Where is the file kept? It is kept here. So this thing is the API version of the app. Inside Root App your app name should be Project Default is yours, so I just I'll copy it and let me run this thing. Okay? Which one do you want to run in? I'll show you. I will. So here I go. In projects. Is there an app of apps here? It's okay. So Vim or the folder containing the Apps app I'll go to the App Store. Now here All the apps are there. Now I'll create it here. root app.yml What's in the root app.ml? It's the parent It's the parent app. And that parent app's The target has child apps stored inside it So I'll just put my username in here. I will give which is the boy Shubham 153. What happened now? My root app It will run in the default project and the code He will bring the app of apps from Ghub, right? In a folder named. What's in the folder? App Name All these apps are kept in the folder. Which I have already configured. It is. Now I've done everything. Now I just have to stay here. I have to enter the URL in my destination. Which is the URL of the cluster. That's it. This is all I have to do. This is all I have to do. So this I copied it and posted it here. It's over. Press Escape. Wq Enter. Now watch the fun. I What should I do? Cube Ctl Apply Halfn F root app.yaml in the namespace argo cd Argo CD what will happen with this The root app will be applied and it will go to git hub Enter will deploy those three apps like this Now enjoy, here are three apps. So much fun and enjoyment that has already been created How fun! Wow, with one click you have all three. Deployed the app. So look here. What's the funny thing? Apache here. Child, your engineering child and online Shop children. These three children. These three The one who is managing the children is the root app. Now you will go inside the root app and you will You will see Apache child is an application. Engineering's child is an application. Online Shop Child is an application. Made it? The app of apps. I'm enjoying this. All the applications are there and this is the root app. Look at how the route looks and in this All the things inside, if you branch it out If you want to do it, you can see that too. Enter it and inside it you will find all his properties, all his events, whatever things Everything has happened, you must watch it. Easy, right? All you need to do is learn how to make yaml. And the concepts and features you should know It should. Everything gets done. Fun. Now let's understand the next funda. What is it, brother? Tell me this in the comments. Tell me, are you enjoying it? Because if If there is no fun in life then it will be dull. It happens, friend. There's only one life. If you don't enjoy it, what's the point? Parent Child Structure in Off App Pattern It happens. Remember this in your interview. That's it. You can do the rest. I have confidence. Now let's understand multi-cluster. What is management? That brother, I have What the Argo CD is capable of. So that's how Argo CD came about. Now Argo CD Which by default has one of the cubes It holds a cluster which is called Incluster What do these clusters say? In cluster so if you on your u CLI You'll go and write ArgosCD. You will see two cluster lists. cluster is one in cluster is one Argosd cluster so right now we have two If there is a cluster then it becomes incluster and Argo C Where did Qyburn go? Yes, he's an Inclussed. And one of our Argo CD clusters Correct. Now I'll create another cluster. I'm the one whose name I'll put Broad cluster. So understand that these clusters are your devices. Environment. The ArgosD cluster is your staging environment and prod cluster is your Production environment. The question arises, friends, whether ArgocD is so capable that it Get Dave going too, get Dave going too, Run all the apps in production as well. Deploy it to a single cluster. This cluster of ours is Argo CD. Argo is running on the cluster. But even though it It's running on this cluster, all these Cluster Pe Prod Cluster Pe Bhi It can deploy applications. It's a feature. So that's basically a feature. of Argo CD. So let's go to ArgoCD. Which features will we follow? On your multicluster. Now on multicluster What have I done? Dave App Production app and staging app. Three such apps I've created one. There's a dev app. It will run Enginx. Production apps that There is production, we will run an online of the shop and which is our third which is We will run Apache on the staging app. So by booming three applications on three clusters It should be deployed. But brother, what about your Do you have a third cluster? I have a third. There is no cluster. Why? Because if we Look at Argo CD Cluster One and these Cluster two. What's the third one? Let's go to the third one. So it's very easy to make. They create product clusters. It will be configured. Then you can come out. So this was kind of a configuration, right? It was for your ROCD. So I'll write one. I give you Vi I Am Kind configured dot y ml bhaiya why are you writing y ml Yes? Why are you writing YML? Both are same. Both are ML only. No scene No. And I'm going to throw it over here. Hey, you shouldn't have hit him. You should have hit me. Had my kind config to this so now I I'll put it here. Now, in this you will find the most What's important? You need your API. The server address is the private IP. You have to put it in. You can get it easily. From your AWS. I went to EC2 Went to Running Instances. Argo CD in One shot. Here's my private IP. OK. Where am I going to take this now? Just enter your API server address. I'll just put in a control plane because I have to save my RAM, my poor T2 It is large and will do as it is but it saves RAM. I'm doing a little escape WQ Enter now I'm going to do this Another one using Kind Config Prod I'm going to create a cluster. So kind of create. Cluster Name Prod Kind Config Kind config prod datal so this kind config Prad A Kind Confiq I created another cluster using prdml. I will create it. Three cluster multi cluster deployment Quickly tell Boom in chat what happened? Failed to create cluster could not find a Log Line That Matches Reach Target Multi User System detected C group V1 what to put Diya Bhaiya Kind Config Broad Yamil To V1 Alpha Four Where is he saying fail to great? Cluster could not find a log line that Machete Reach Target Multi User System Detected C group is fine, no problem In the cat kind cluster client config which What was in the used one? Yes, that too It was only there. It's okay, we'll just use the same thing. 172 31 84 and in cat kind configured What have you used? One, yes, that's correct. So let's use this one. Okay. So what will I do? A Kind Creation Cluster Fraud Kind Config Kind Configm Let's try it. Let's try creating another cluster Using a Config Let's See If This Works. O O O what are you saying? The port is already allocated. OK, understood? I came and had a port issue, so we People will change the port. VIM Kind Config What will we do to change the port? and make it 94 so that the port people You should not face any issues. If I have to come, I can cut it anywhere I will not do foot, watch this video what all happens ok preparing notes what's up again Is? Failed to create could not find a log line That matches reach target multi-user. OK Is it? Let's see. Why is it coming like this? Let's see what the error is. O! Oh Oh maybe this insufficient Oh brother We have resources for you. Low Reach Target Multi User System O! May be May be due to lack of resources It must be happening. There's no scene. Our We have two clusters. We'll deploy. Come on, brother. So let's go. There are Argo CD demos and here we are. Let's move on to multi cluster. Ok. Now as I said, on multi-cluster Multiple clusters are needed. But Unfortunately, ours is T2 Dot Large. He's not supportive. It's okay. We people I will do it, but I will still drive it. Whatever happens, we'll keep doing it. Okay? What do you do now? You have two cluster. Okay? There's an in cluster and Argo CD is a cluster. If you want a larger If you buy a machine, you can also run a production cluster. You can. But right now you have these clusters. And Argo is two clusters. Let's create two clusters for you here. will appear. Okay? These clusters and Argo Both CD clusters will be visible. What to do? In your application Your The whole game happens here in the source destination. So the destination server is your I put it here. Which is Cuba's default? SVC. This one of yours has arrived and the one of yours If you want production, you can use the prod app. Enter the URL of your production cluster or the URL of any cluster you own. In me, basically the whole game is about destination. He runs both of these shorts. You Drive it in someone. He will run both things. Staging Prod These are the things you will run. All right? All of this will work out. I'll tell you I'll show you how to drive both. Right now we People go on their On the Dave app. Okay? Let's go to the Dave app. I'll try it on these clusters. Vi Dave App.ml. Okay. Now what should I do here? This is the URL of the server. For your inclust, go to Settings. Go to cluster. So here in the URL, this One is a URL and one is this URL. You just have to run it on these clusters. So put it in. Now your beans are the same. Usernames are a game of source and destination Complete and of your ML files. So here What did I do when I went away? Shubham 153 and everything is set. It's done Dave your app. Same way your a product app Make it dotML. What will happen in that? Who The file that remains will remain the file of the prod app. Which is the same, whatever you need is here Just put it in. Whatever your server URL is, if Your cluster is formed Unfortunately, it could not be made because of lack of resources, put its URL here for you If you want to give it to me, I will put its URL. Hmm. Oh man, it stopped again. Yeah, no problem. No. Let's pick it up from here. Enter its URL. Namespace default Everything looks fine except. Again. This I have deliberately done it so that That at least you guys should not copy paste everything Do it. At least enter your own username. Two. Okay? That's it. What should I do now? Cube Ctl Apply Hfn F Develop And your prod app dot yml in the namespace rgo cd apply kar dena hai enter both apps You have created it, now go here Applications You will see both the apps being created here. I'll see what the difference will be one of your The Argo CD cluster will be on the star and a You can see it on Incluster here. Dave which was Dave app his destination That is in cluster and which was online shop Prod his destination what rgocd Cluster Interesting Right That Online Shop The product we made for production Thought the app was his destination Argocd Destination Joe Deaf His Destination In Cluster destination you go to it afters You can also put where did the sort by go? Where did anyone go in this, yes here it is on the side Now you can put it in clusters here. these clusters so in these clusters we have a I've already put it in. Now I need it from Let's Argo CD cluster. So in Argo CD, anyway. All of them are working. They've created a lot of apps. Man, we have so many crazy apps. Some of it even got out of sync. Oh my god! Dad. Something's out of sync. What do you say? Is this happening? Deployment is a part of applications. Yes. Same Same Resources Warning It's been. Okay, brother. We're poor people. We're not doing anything. You're running it in the same applications. Okay? So I hope it is clear to you that You can deploy to multiple clusters You can. You just need to put that cluster on Argo. You should know how to add it to a CD and use it as an edge. You can use Destination. Let's go. On to the next topic which is very interesting. Bhai sahab, there are too many application sets. It's interesting. But before that, I recommended it. that we did not It has created a lot of buzz. Start using apps from this Delete. How do you delete an app, brother? I'll tell you. Do you know what you can do? Hey friend tell me cell R. Clear ROCD Apps List Sorry. These are your apps, now what do you get from here? You don't want any app that you want brother. Blow it up then rgocd app delete this one enter are you sure you Want to Delete Argo CD App and All Its Yes, brother, blow up the resources. So, the application Deleted. So one of your apps got deleted here. It's easy. And in doing so, all the apps are gone. Two. You can do one thing if you want. This route Just delete the app. Interesting, right? Root app What happens if you blow it up? Let's see. Where is the root app? Can you see it anywhere? Root app. Root app Root app Or do this list Grape. Route So look at this, you got the root app, so this root app blow up the Argo delete cd app a sorry rgo cd app delete root app whatever It is a root app, remove it, I am pretty sure. You can't see it because of my photo. It will happen but understand friend, enter are you sure you Want to Delete RCD Root App and All Its Resources Meaning Any apps inside it will also be destroyed. So this root app will fly and the ones inside it Whatever apps there were, they all disappeared, so the parents And he deleted all his children. You must be having fun. I'm pretty sure you're having fun. It must have been. Let's just have a little I've created a resource. I've done some free-flowing work. So let's move on to the next topic. Application Set Template Based Multi App Deployment. The system here is very It's simple. You are a You make an app of apps. This is such a parent and These apps of his. Now this app, you have How did you create it? You manually created the ML file yourself. wrote. wrote its Yaml, wrote its Yaml and If tomorrow such If you had to make 50 more apps, you would have made 50 more. Which is very wrong. What can you do? Can you? You can create a template. You can create such a template and You can say in the template that he is a brother. template I will give you a list. from that list Generate your applications. Templates What will the app be called? Name There must be something called Sash App or something like that. The destination must be something. Create a template like this. Here. Let me show you the template. what it looks like. So basically what you do is Is? Your app of apps is complete. And here's a list generator. So the list generator is very interesting. The kind of application that it has is It sets in. This is the most interesting It's a part, friends. The kind of The application is set up. So far we What Kinds Did You See? Application Kind Saw it, saw the app project and set the application So you've seen these three kinds. Now, what The name will be the demo list. Okay? Enter whatever name you like. You can. It's up to you. Correct. Its name Space will remain Argo CD because Argo A CRD is going to be created inside the CD namespace. The custom resource is about to be created. Application set.Generator now in its spec There are multiple types of generators. List is a generator, Git is a generator, so Git You can also give multiple paths to the hub and things You can generate it. Now, let's use your app. The name is Ingeninix And its path is UI approach. The injection that's right here. These are the organs. The app you have in CD Demos is Ingenix. The UI approach of Ingenix's app If you have the Chai app, here's the path. If you have an online shop app, this is it. There's the app. There's the path. These are all the paths. Okay? These are all paths, friends. These paths You just have to enter the path here. So the name of the app is Inject. The path is This app is called Online Shop. It's gone. It's named, it's now the path. what will happen with this generator Using variables in a template He will inject it and that template will be taken from here. Put it there and gold will come out from that scheme From here enter the app and the path from there The application file will be generated, that's how it is Works so template you make so template You have entered the metadata name of the app. Now This is the app, this is the variable name of this app Talking. Put the project in Spec 2. Whatever you want to add to the repository Put it, put a branch and you will be on the path Where do I need to enter the path variable and what should be in the path? It will come. So, this is a template. You can create so many applications It will help. What a valid concept this is. So what do you need to do? You need a template. I want to create it. What is this template? This template There's a template for your application. Right? There's a template for your application. And you The above spec only requires inserting generators that will continue to generate multiple apps. End That's it. Just choose your kind above. The application will be set up. So let's run it. Okay? So I copied this. Where will I go now? Application Set. Application This is the Chai app in sets. It's a new app. Our Amitabh Bhai discovered and launched new apps. So we have to deploy that too. VIM List Generator. OK? This is a list generator. Now, this list What things will be there in the generator? I'll tell you. Hey friend, this is ours. Zoom in too much so the vim gets a little messes up in the list generator What will happen to us? Destination Servers Do you need to install them on these clusters? or your Argo CD cluster I have to drive. Look, the choice is yours. I I want to see Argo CD on a cluster I can get the server URL argo cd I'll put it in. You want the production to be If you run it on a cluster of then you can use the server URL that Put that in. It will start playing. Namespace The default is true. Git will use your above Path is in which repository it is kept Are there? My path is the apps above. They have kept a boy named Shubham 153 In this repository with username, you Put it in as you see fit. You just have to What's important? Creating this template. Path and this app, these two things are important. Where can you get them? You can get them. It will go from here. Here it is, I got it from here. Create an app and name it application What will happen? Ingeninix List. How will you understand the list, brother? Because list generator so list. So your three Apps will be made. This is your fourth app if you want. So what can you do? Go here and have a Add another app, which you can name. Lates to Apache And what will its path be? Whatever your CLI approach These CLI approaches UI These folder names and Apache was inside it. Once confirmed Let's check if the path to the Apache app is correct. No. Where will we confirm? We'll confirm with our repository. ArgoCD Demos is our repository.CLI Approach is our path in which this Cubinities' manifest file kept All set, so I just have to add this much. And that's it. Done. Yes, that's it. Escape Colon WQ Enter Now apply cube ctrl hfn f list generator dotall in the namespace Argo CD Enter Application Set Demo List created now if you go here then here You will see that so many applications are created instantly. Your injection list is done. Online Shop List has become your Aapka Chai App The list is created. Your Apache list is also created. And what was it made of? The application set. What can you do? ArgosD Appset AppSet Application Set List. So if you look here, you will see that One called Argo CD Demo List The application is set up, within which a Parameters have been generated. Parameters generated successfully. So whatever your four All the parameters listed were generated. Yes. And this path is all set. How easy it is. Huh? Deploying your apps. So fast All the apps were deployed in a flash. How is this Chai app, brother? I haven't seen it. Let me show you. No problem. So, Cube. CTL Get Service in the Namespace. None I had put it in the default. So the Chai App Service Which is running on port number 3000. Let's go. Then port forward command That's all we have in life. Port Forward Do it. Brother, it would be better to do it on EKS cluster. You could have run it. Oh, the EKS cluster bill. You're joking while you're filling up. We don't want such things happening with our company. You should say it. Run it on the ES cluster, man. Run it well. Run it in production. also I will tell towards the end of the Video. Okay? So I'll open this on 8084. I'll give it to you. Enter forwarding to 8084. Now I'll go to Security on my instance. I will go to Many people are getting confused that this is Why think like this when it comes to AWS? Is it happening? Go check it out on Lindin, folks. 8084 I'll go and do it anywhere. And here What's up with me? Chai App. So Chai App I'm running. Let's save it. Rules. Okay, all good. What am I going to do now? on this one 884 It's going on here, Chai Four, and this is HTTP. Pe Chal Raha Enter ok oh wow tea is here what's up Amitabh Bhai has created a wonderful app. who is a DevOps Engineer at train with Shubham Yes, it is not the case here that we are just and just teaching We recognize talent, friend, and they They also provide a good opportunity. Build a good app, friend. So let's talk to Sandeep Das and Shubham Bhai I want to get it done. You take it, friend, all three of you come. START GROUP CHAT Hello, how can I help you today? Hey Dada Dada Dada sorry I could arre Dada what are you doing Did you? But anyway it's a good app. The Git code is posted on GitHub. This is a great code. You haven't read it yet. Amitabh Bhai Read Me Add. Everything else Sorted. Nice app. Enjoyed it. OK. So you see how I Quickly created the applications set and three In fact, there are four applications. Now if I do I will give Argo CD Appset delete which one Demo List Inside Joe Argo CD Joe Demo List Inside Delete Argo CD Yes, delete it, enter, are you sure? Want to delete all of the applications If you want space specific If you want an application then you can do specific By doing A B C D I can open all the apps. I want to delete it. What are you saying? What is this? Error getting a Not Found? Argo CD Asset Delete Argo Let's try it again. Apps List: Yes, then delete me. Yes brother. Argo CD appset delete these enter are you sure i want to delete yes yes I want to delete okay Deleted Now I will go here from the bottom I will be deleted Oh how interesting brother Argo CD is. Quickly create some noise by typing boom in the chat Give it a try if you feel like it Take a screenshot and put it on Lindin. Practice, it's so interesting. ROCD. Your entire deployment should be I've prepared butter and kept it ready. So this was it. Brother, your asset. Now the next topic is very It's interesting. Very much so. Interesting. So interesting. That we will cover it in this video. I'm not going to do it. Because this next one The topic is configuration management. What is it? What happens? You'll need to read two new tools to help. Will read. Help or customize. Brother What is customization? Customize again. There is a project that will give you cool multiple Package applications by creating templates Help me do it. I don't understand anything, brother. I came in. I didn't understand anything. Configuration management is done from Let's I have one yaml file which is of inject. Now I have to I need to run it in production. I'm in Dev I have to run it. I have to run it in staging. There should be five replicas in production. There should be two in Dave. Three in Staging. So now can I have three different Will I create files? No. I'll just create one. And save that one file as that one EML file Configuration through template customization I will manage it now. Teaching ideally customized is a different topic. I'll sit and teach you for an hour. Either I customize The project at the end of this video I will teach you in that or in a separate video. I will teach you. In this video, if I If I went to teach customized then it would be a new topic. He'll go in a different direction. Just tell me by writing customized text in chat Two-and-done integrations customized for you I'll get it with config management. Now Let's move on to the next topic which is Integrations and automations. Like I Told in the last video. Neither the like target has been achieved nor have you I've subscribed. Still, for you, brother. I'm bringing the video. So friends, when will this happen? Tell me how long will this last? You Liked Target Last Video Ends Are you subscribing? Same here. Our analytics tell us that you You do. So sorry to interrupt again. It's been 5 years since I've been making videos. It's not reaching the people. Millions of people It is getting so many crores of views. On a tiny video. And here I I taught you the whole Linux in one shot. Jenkins read it all in one shot. Docker Ansible Terraform Argo CD Sub One I read it in a shot. But as much as possible to the people What should be reaching is not reaching. You need to help him, friends. So if You have the passion to do something big in Life to Learn DevOps Do Share This Video With Your Friends With Your Friends Share it, like it, friends Talking about integrations Sending notifications is a DevOps Very important for engineers When did your deployment fail? If He has succeeded, when did his status change? Yes, if anything goes wrong, you An email notification or Slack notification You should come. Now please leave me a quick comment. Tell us whether you want email notifications or I need one with Slack. For this tutorial, So we keep things simple. Email I'll send it. I have a good one on my phone. It is. Okay, it has email. Now I'll tell you I'll show you live how if one of my When the application is built, it appears on my phone. I will tell you exactly how the email will come. I'm going to show you live. Let's start. And yes, we'll also do some automation. Like image updater but yes it will do. Let's get to notifications. First, What do you have to do? You have to understand that If I If you want to send an email, please send it to me on the email address You have to send it to me on my email from Lets If you want to send it from any email to any email If you want to send a pay then you will need to use an SMTP It seems to be a server that we use for Gmail. So I'll open a new tab right now. I am here and where did I go? My Gmail is on I do it. So this mentor @ train vs Shubham This is Gmail. And what can I do by going here? I'll go to my settings. Where did the settings go? Yes. Go to Manage Your Google Account I'll go to Settings. Now go to Settings. After leaving, I will be put under security here. I have to go. After I get through security App password here. This app password is a You have to select the best one. So here There is a password manager from where you can find it, here is the app Password. Select it. That's it. Now you have to verify it with me. Yes brother. ok verified ok all good now what should I do I will create an app password here. Argo CD in One Shot this is an app, I make Argo CD Create this one shot name. As soon as I created this app I get an app password. This is me I'll copy it and put it somewhere here. I'll store it somewhere safe. Okay? Do this. Because once this is done, It won't be visible again. It won't be visible again. If you get it, store it. Now off you go for your Argo CD. What do you need to do here? Here you will basically generate a notification. To do that a notification controller You will have to install it. I am a mkdir notification Is there a notification folder anywhere? notification notification I'll create a folder named . Done. CD notification. Now this was my app password and I had to change it to Edge. Gotta keep it a secret. Right? Let's go. Let me make it right now. So I'm off to my Argo CD here There is a folder called Notifications. Where You'll find everything. Look! Important things you get in the notification The thing to keep in mind is notification Controllers, triggers, and templates. That's just three. things. Subscription means where you Send it, email it, Slack it For this example, we will send an email So notification controller What happens? It's basically built in. This means you don't have to do anything separately. After Argo version 1.7, they Built in. As a component I just put it in. So you don't have to install it separately. But yes, whatever your templates are We keep wondering what will come in the email. You'll also find all of that built in. So I I'll show you everything. Okay. You now have a Kind cluster running. So brother, let's check out our Argo CD. cluster List. Hey, what happened? Okay. The token has expired. This means you have to return your Return the token to the cluster that is logged in. So by doing control R I'm doing a recursive I'll search. Any login command? Did you put it in? Yes, Argo CD login here. Enter your public address, username, admin, and Our password is very secure. Test @ 1 2 3 enter and here is my login Successful Argo Cluster listing done. So My cluster is running Argo CD. Good. The Argo CLI is installed. Everything. Locked in. Access to SMTP server. Now you have a Gmail account. You have access because you have Create an app password. Watch this video. There is a small video explaining it. And there are screenshots here as well. Let's learn how to create an app password. Your password was generated. Now, a very important thing is templates. You can get the templates from here. It has to be installed. It's a simple is the full path to the repository where a The install file is there. You just need to install it. You need to install the templates. What will happen? The email you receive will be It will be written which app has been deployed? When was it deployed? What if it failed? Failed? All this and the accompanying trigger Triggers are also installed. Meaning when the email is sent or when the notification is sent I want my success on If the app is built, you will get a notification. On failure or on app degraded app if terminated It's ruined, so come on in. So all that lives inside this. So now copy this. We take it and go here and do it. Paste. So that's it, run, enter config map. Argo CD notification configured to Now you have the notification template. Great, what you have to do now is Secret Joe You kept this password hidden, right? Copy this and this is the password. This will go to your secret file. The file is very easy. Just like you would in Qobuz. You create secrets like this too. It'll Be Kind of Secret. Argo CD Notification Secret will be its name and The namespace will be on the Argo CD. That's all you have to do. So copy this and Go to your notifications folder in vim secret dot yml by doing it here Throw it away. Now what do you do here? The Gmail account you used to install the app I created a password. This is my Gmail account. The app password I created on this was Email ID so let's say if you have any Going forward or while watching this video, someone If any problem, any dilemma or trouble arises then m Great domain name at train shm.com Hey your brother, please check out train shm.com. You can email me at m@trainsham.com If you face any problem, please change your password. What is it? Now here I am going to use my email address. I won't tell you the password. Otherwise, you'll be my brother. I'll go. What am I going to do here? This one I'll tell you the password. I'll tell you the app password. I will put it in. So I put it in here. Now its Please remove the spaces in between. He's useless. Okay? So be it. I lost my app password. I deleted it. I'll do it when I upload the video. Don't think about doing unnecessary things. So this is me I'll delete it. Now remember that this Email is the username, Email is the password, these This is a variable and this is its value, okay? So this data is there, inside the data data you You give it another value. So the variable Isn't this a variable we can use in the future as well? So your variable name is exactly Think carefully before putting it in. So I thought Enter your email username and email password. Escape colon wq Entered file save cube ctrl apply hfn f secret Kiss Me In The Name Space Argo CD Pe I will apply it and my secret which is mine The password of the app is and my email ID is He has reached the cluster of Argo CD What will I do now? Now I am I will run the application but before that I also need to check my template to see if my What was in the template? So the template gave you a I'll show you the bar. This notification There is a config map, isn't it? There is a template. So I'll show you that too. Let me show you the template. Here's the template. It's not too difficult. But still. Let me explain. Whenever you If you want to store passwords, then password will be stored in secrets. Whenever you Templates or data that you want to reuse which can be seen by the public outside. Even then it will work, you will find it in the config map. Store in Cuban in One Shot If this is taught then API version v1 this You're creating a great config map. Name for Argosd notifications Space Argo CD will keep you going Just the URL of Argo CD in the context You have to give public IP, not private IP. I have to give it to the public. Now look, this is a very important part. The service that will remain inside it The username and password used in it will run That would be dollar email username and dollar Email password. I've seen this somewhere, brother. It looks like these variables. These are the same variables. that you used in secret Friends, I have named the same variable here. I've used it. So what's next? Namespaced in. Argo CD Notifications CM, we have given notifications and other Did you install the controller and those secrets? I'll go and pick this username. He will take the password and give it to me. Now if You'll also need Google's Simple Mail Transfer. If you know the protocol, its host name It is smtp.gmail.com And the port is 465, that's it, and here If you want to receive it from another email address, you can You can figure it out. But what I want is I want to email mentor@train with Shubham from what I posted there. Email it. So I've posted it here. Okay? So that's it for your service email. Configured Password Username Host Port Username Is Basically Your Email Address Only this is done, the service is configured now you You make templates for example subjects What do you have to write in the email that you The CD is saying that the health of my app is like this Has status successfully degraded a stuck or Whatever it is, what is in the message now? Application name, namespace, status, Reviews, last what-ifs? Details and So on. I could get all that from the metadata. Whichever application has failed or succeeded It is complete with its dot app meta data. I'll give you the details. Okay? Now, whenever What do I want if my health deteriorates? I am getting an email saying that my health is degraded. So who is this template for? Email for Health degraded. If I want that My app is deployed so it will come Email deployed, tick here in green Gone or you do this hooray application deployed You could write something nice like this Successfully deployed or health is Compromise by doing something you want now You can make as many types as you want. I have typed it here. go to the end scroll to the very end You will see all the types. If If your status is Sync Unknown then this is a is triggered. If your application is running So it's triggered. It's succeeded, so it Trigger. Fail Trigger. Health degraded is triggered. on deduplicated on Deleted. So, based on such triggers, you You can create email templates. So right now I've created two for... An email is of diploid and health is of degraded. Whenever my app's status is Health Degraded If so, this email will be sent. I have created the config map as follows: I'll copy that and put it here. Vim config map via email dot ymail I'll save it and go over here and drop it. Now What things should I keep in mind here? See what things need to be changed. us. So first of all, Argo CD's I need to change the URL. That was the first thing, and What do you want to change? We'll keep the rest secret. are picking up. So something needs to change. No. You just need to change the URL. Come on brother, let's change the URL quickly. I went here and where did my URL go? Yes, here it is. Ok. Here goes my URL remember public IP Doesn't matter to anyone I tell How do I remove it from here? And just go over to your Argo CD and you're Friend, whenever you feel like this, it is not possible To load data request be terminated like so Understand that this tab has not hung. So look at this tab, yes, it is hanging. Now log in and do it if you want. If this lasts too long, use SSH. If you increase the time to live, it will last longer. It'll last until then. Okay? That's it. Let's start. Now if I refresh it, The error will be gone and your app will load here. I'll go. I'm done loading. Yes. Let's get back. On topic. Copy this public IP and Go over here and throw it. So this is my Argo. URL of the CD Enter. Finish. Cube Ctl Apply Huffn F Config Map Email Template Apply What has happened to me now is a secret here. and config map both have been applied I've got the template and the triggers are here. So if you look at the last three commands We have completed this notification catalogue. Deployed by secret deploy I have given the config map and deployed it. I deployed three things, I did them. What do we do now? Now here I have this I have to tell you for which app this is. The notification is very important. Otherwise, he will do anything every time for any app. It'll keep running. Okay? So here it is. Yes, it happened. Then, now. I explained all this to you things. Now what do I do with that app? Deploy which apps to deploy it for The notification should be on. So I'm using the Chai app. I'll run it for you. So the full description of the Chai app Here it is, inserted here. Argo CD Notifications this Argo CD this complete you You get all these things, right? You'll go. What do you need to do? You'll need to use the app. You should know how to make yamil, friends. Just put some annotations in. Annotations What does it mean? Extra data like That for example, this is my water jar. Now I will pour cold water into it, hot Water. If I write this, then come and pick me up. I'll be easier. Now this is my The application is the Chai app which I just showed you. I was there a while ago. I just talked about two things. I will put that in notifications. Prog subscribe on health degraded. When If your health deteriorates, email this place. Should work. I'll enter my email here I'll give it to you in a bit. Notification Argo Subscribe on Deploy Email Here Correct. Now here again the same application What is the repo URL for the work? What's the server for? Put all that in. So this I will copy it from here. Brother, you can copy this and your Why are you running it locally on the server? Why are you not doing it directly on Git? I am doing this because this is This is complete, you can use it as a template. Get it. And you can edit it whenever you want. You Fork it and you can do anything. What do I do now? Chai App.com I'll do YML. Enter. Now here What am I going to do? I'm going to hit enter. Okay? Now my destination for Joe Q Argos His server is What is the private address, please give me that. Who knows from Argosy's list? I will write here Argo CD Cluster You could have given me this one from the list end part. I have got it, now I will put it in this Pay this is my Argo CD cluster list Now your application set is gone. I told you earlier that the Chai app is the same. Let's reuse it. So on my repository It is kept there, so I will go and put it here. I will just put my boy Shubham 153 so that that my repository comes up. Project you Do you want to work on a specific project? If you want to put it then change the project here. You can. But the default is fine. Now this receiver @ example is here You can also enter multiple emails. You can put mt@ shm.com or whatever your own email is. Oh By the way, everywhere pet@ Train with Shubham.com Don't post this. I still get emails. Saurabh Jain's or Rishikesh's or random people That you guys are my friends, that's correct but Enter your email and that too please enter the correct email address. It's not Mentro, it's Mentor, okay, that's it. Now he is here on health degraded also. Mentor @ Train with Shubham Dal Do Again I request you to enter your email address. Because you will ask, brother, did you receive the email? how is my my my status showing RGOCD's train won't feel this good Visham.com So I have put this that if health If it gets downgraded, please send it to this email, brother. If the health of this application is on Once deployed, mentor edit train Put o Shubham's spelling on Vid Shubham If it went wrong then I should not make this mistake. Brother Shubham, correct. This mistake should not be made. If If you put it wrong here, you will keep thinking Brother, why is the email not coming? I told you why the email wasn't coming. Don't make this mistake. Escape colon WQ Let me check once again if everything is ok or not. No? Yes, all correct. Escape colon WQ Enter. I can now deploy this application. I'll give it to you. Let me check it out before that. Here There's no tea app, right? No. One Is Iniinx a front end? Is it online? Yes Cube CTL if not tea app Apply Hafan F Chai App in the Name Space Apply the app by doing Argo CD Created and as soon as the app is created Check here whether the app has been created or not. What should happen is an email send I'll quickly check if Here on deploy look here this app o app So it's torn, it doesn't matter why it's torn. He's saying that back off pulling image Amitabh Devops Chai Devops Latest O Ye There is something wrong with this, basically the image If you are getting a pull error, the app has not been deployed. The email may not have even arrived when this degree You will receive an email when it is done, it is currently being processed. Isn't it, when it gets degraded then the email will come. Let's do one thing. Let's fix this. How do I fix it, brother? What's the problem? Is it? The problem is that this application Fail to pull image Amitabh Devops Chai Devops Latest Fails to Resolve.Git Now This is the image under the principle of Ops It came from Git. And what we What was the repository URL that you entered? See the repository URL at ghub.com. shm 153 argo cd demos let's go that one Go to the repository. Okay, here goes Argo CD. Demos Where Application Set Chai App Deployment Amitabh CLA Devops Now I am a job I will use my image instead of this. So I go to Docker Hub and Where is my image on Docker Hub? Let me see. Yeah, here it is. So this is the image I I will use it. Train V Shubham Chai Devops. Let's copy this one. And this one, we'll We will use it here. So train vs Shubham tea Devops Latest Done. Let's do it. Commit Commit changes. So now train with Shubham. Child Devops Latest Joe My Push Image It's right here, I'm going to pick it up. Now As soon as I picked up that image, I went here and I run the sink once. Synchronize I will force it. Okay. Sync it, brother. Sync it. Oh my god, this one burst too. Why? Umm You are also going to face all these errors brother. oh oh oh This is image not found or image. Did you put the wrong tag? What is a tag? Version 1.0 Okay all right. Sorry. Sorry darling. Sorry darling. It's a long night It's thick. Sorry, darling. I I installed the latest version. My version is v.1.0.0 Now ideally, if I were to sink this should I Forcefully I should replace them. Those who are dead Replace it and go here and press OK. Two. So ideally, everything should be fine. The green green green heart has arrived. What's the matter? Wow. Wonderful. My app is now deployed. It's time. What's going on? 3:34 are happening. Now what about our 3:34 Got an email on Gmail? Let's check it on the phone first. You guys are very naughty people. Will you check my email first on your phone? Hi Alas Alas Let's show you this on the big screen Where did it go Come here brother, come on the big screen, friend, no is coming Here comes the boom Argo CD Tea App Successfully Deployed 3:34 Pay Application Tea App Nempase Argo CD Sync Status Sync Revision is here. Status Healthy. Cluster URL in details It's here too. Let's click on it. Please see our cluster URL. What the cluster looks like. Good on the phone I don't know if I can see it or not. Right now It will ask for login. Look here, login. He's asking. Let's log in. Brother. What are you doing after leaving your studies? from people? You guys should try it too. It's fun! Email Send me an email. Don't send it to me. Okay? So here Here is my application status. He's coming along healthy. Okay? What should I do now? Will I? Now I'll have some fun. You'll have to go first. Let's show it on this too. Otherwise, later. You will say that brother, you have taken a screenshot in your phone. I had put it on. This thing, look at this tea app. Successfully deployed 1 minute ago The tea app is fine, if I refresh it, it will give 2 should arrive a minute ago OK, 2 minutes ago, it's all right. Yes. Now the question arises that brother, if So what if my Chai app gets degraded? If it does? It will still happen. So degrade it. Very easy. Wrong image number right now. Seen how to degrade ninja Technique. Go to github and upload the wrong image. Two. That immediately you Deveaux. Well, I I did the same when I was getting my degree done. So when you do this, you give So what will happen? They'll pick up this image. I'll try it. Look, I just sank it. Now she tried to pick up the SSS image. I tried it. It broke. It's messed up. Now. This one was doing well, I I will delete it. I deleted it. So now this app is being made. No, it's completely torn. Completely. The band is playing since. Now I'm all I will delete the notification so that tomorrow You tell him, "Brother, what is this?" what's up? it's 337 Let's see after how many minutes it degrades Now it is progressing. Yes. Look at the test during progress. I will keep thinking that my friend will try again. I will once again put in all my efforts to make my brother go away. This thing. But then after a while he will say No way, brother, go degraded. So this was notifications. This way you can trigger whenever You can send an email on the trigger you want to do. You can send Slack notifications Yes. You can run it however you want. Okay? Interesting, I enjoyed it. Let's do this now. The notification part is done. Just tick it. Yes. It feels good to tick this. It seems that yes brother, work is going wrong here. So it's all about notifications. We picked email instead of Slack. Done and done. Image Updater. Image What is an updater, brother? what do you need? what do you need that The scandal I just committed when I went here Opened GitHub. Went to Edit This File and I went here and did SSS. This would have been a gimmick. It's not supposed to be like that. Okay? When you are a DevOps Engineer, you should have the image There should be updates that should be automated. That should follow GITPS principles. There is a service called Image Updater which What does it do? If your latest image is Tagged. Any latest in your repository? If the image is tagged then the ID of that image is in GH It goes and updates itself and your It runs the application. What is this, brother? Did you tell me? Tell me again. I'll tell you. Image What is an updater? So understand it like this. Image Updater Is a Service in Argo CD that handles automatically Naming and versioning of your container images. So now if I use any Docker image Now there will be some version of this image, some Let's have tea This is my image of this name from the app. Let's. Now whatever version of this will be, whatever tag it will be, let's is from V 1 This is the version from 0 Let's. Okay? Now. Where is this version kept? In your manifest file, you can add whatever you want. Image here in Deployment Manifest file I keep it in my possession. Now if I I need to change the version. Let's say my developer I have requested a new version. I need a version change. So I go back and forth and tweak the deployment a bit. I won't change. What will I do? I'm a I will create a path, a way I will give that automatically Whatever version changes I have made It gets detected and the latest version is It should get updated automatically in the gateway. And that's what Argo CD's image updater does. Is. Argo Set CD image updater which keeps checking whether your Docker When is the tag of the container image Changed. Like you changed v1.01 I did something like this, let's immediately use this app. Detect will tell Argo CD that Brother, I have detected it. I am going now. I am on github. I'm going to go to git and hit commit and here He goes and commits. He commits himself. He'll do it, brother. He'll commit it himself. And What will Argo CD do? Joe Committed It is the latest version, he can pick it up from here. Meaning, you come here and manually open the gate. You won't have to update it as you used to. As soon as the new version is installed on Docker, docker push As soon as the new version was installed on Docker, it The image updater, the image updater, is Detects the version and this version Also update it in your manifest file He does it. Brother, what a wonderful thing. And this thing on the principle of Gitps Automatically syncs to Argos Deploys your Cubantis Cluster Pe. How cool is that? You changed the docker here. Automatically Image Updater installed on Git. Git sync and Argocd deployed to the cluster I did it. Brother, what is this thing? This is a very interesting thing. Just try it. Two. I do. I absolutely do. The rest is up to you. You will see all this for yourself. Try it out. Funny notifications. It was. Let's move on to the next one, whose name is It's Image Updater. Like I said in the full article. Told that it saves manual effort. You don't have to change the yaml file again and again. It happens. This thing is called right back. mode that it writes back to Git. That's a git remove commit creates commit In which the tags of your image are there Updates happen. That's all. He does. It's a small concept. Let me tell you. If you have You must have seen this version that I wrote. v1.0.0 After that, I wrote the new version. v1.0.1 This is called semantic versioning. Semantic versioning on the same. That semantic There are some rules for versioning. If you have any major update then like before You had version 1. Now it's version 2.0.0. that occur. Then comes your minor, I have done everything well It's written here. Major is very big. If there is someone then from one the whole two this If you add a small feature If a new feature is launched then it becomes 1.1.0 1.2.0 And so on. But if there are minor bug fixes, Minor hurt here and there is fixed 11.1.1 if it was earlier then that was the last update It happens. Meaning, understand that whatever happens to the Major Isn't that the first one among the three decimal ones? Things are incremented. If it were minor So the second decimal point in this one If there is a patch, it is an increment. The third decimal point is the ink increment. Yes. Friends, this is called semantics. Versioning: Major/minor patches. These three types updates happen. Okay? So Semver Generally used. You can use any on Ghub Pick up the project and see if it is open source general. It's used. So what can we do now? Right? Let's start the image updater now. Let's give it a try. Okay? So I have a cluster. It's running. Everything is set. What do I care now? I have an image updater He's about to commit to GH. So what about me? I want Ghub's I need a personal access token. So I can use my I'll go to Ghub. I'll go to Settings And here I will go to developer settings I. Now he will ask me for personal access. token. So in the Personal Access Token I I'll get the classic one. Okay? I took the classic. Now I want to generate new token I will do it. Generate new token here Classic OK Enter Okay, look nearby, I have kept everything secure. If it has happened then there is an authenticator app in which When I receive your OTP, I will send the OTP. I take it from What is my OTP brother, tell me quickly friend 720630 Well, it gets copied and pasted into this, so if I paste from my phone oh wow What is the matter? I wish, look, I have all this before It wasn't a phone or a Mac, I worked hard bro. I rubbed it a lot, I hope you guys also rubbed it a lot. Work hard, work harder and you You can also get all the gadgets that fulfill your dreams. Ho Chalo Argo CD in One Short token okay this is a token so that I While deleting, remember that you people do this Don't be silly. I'll put the expiration date. It will expire in 7 days, brother. October 14, 2025 You know the recording date. No, the video will come before Diwali. If This video did not celebrate Diwali in your house So, brother, I'm cursed. Let's go. The repo is done. Grant repo access. And here you go. After doing this, you can generate the token. What will happen? You will have a token generated. Whoever has access to the repository It will. Okay? So access to the repository Save the token somewhere here because That too disappears. Once you Close the tab. Okay? That's it. Now. What will this do? Which is my image updater? He will have access to GH whenever he needs it. There will be an access token. Bhaiya access token so It's a secret. So should I have one? Do I need to create a secret file? Yes Friends, you got it right. Secret File But before that, Argo Argo CD Image Updater from Project Lab You should install whatever service is there. It's very easy. I put everything in it. I have posted it and I am referring to it from there. So that you don't have to remember all this. You just need to know the concept. I should. Okay? Come on brother, it was a notification image Which is in the updater image updater whether now ok no vim no vim needed We have to apply directly to Cube Citytel The manifest image updater's manifest Apply and he will do everything in a jiffy. If he makes things then he created an account. RBack created ConfigMapDeployment You have also created it and your image updater is running. So what is an image updater? The service is as I told you. It keeps detecting and goes to the gate and commits It kills just enough if you watch it. Do you want the image updater running? Otherwise, I have entered that command as well. If you are feeling like running then be ready after some time. I'll go, I'm doing a little make-up right now. He gets ready after some time. Let us go Now what does he do, he watches the image updater that you did a pull/push of a Docker image Version: He sees it. He sees everything. He looks very carefully. So for this I also need Docker credentials So let's log in to Docker. Docker Login Hey brother Ok Waiting for authentication. OK. Don't do this. okay? Don't do that because if you If you do this then you will have to go to this URL in your browser. You will have to put it on and so on, don't do this Yes. I'll tell you how to do it. Don't do this, update it Amitabh. Go to Docker Hub and go to Docker Hub After that you should log in to your Docker hub. Yes. This is my login. Now here You have to go in Account Settings. OK? Account Go to Settings. Account Settings After going there you will have to pay Personal Access Tokens. I have to go. I've gone to Personal Access Tokens. Now You have to generate a new token here. You name it. Zoom in a little. Let's take it. You can call it Argo CD. token. Okay? You got one for the Argo CD. Create a token and enter its expiry date. custom I'm fine. Put in 30 days. Someone No. Now, delete the read, write, and fix it. Give it to me. What do you call this thing in full? Grant access and click Generate. That's it. Now. This will tell you the complete steps. So, just run Docker. Log in to enjoy your train with Shubham. Copy this He did it and went over to his side and threw it down. Enter now. He is asking for the password. Copied the Personal Access Token and placed it here I went and slammed it. Enter Done. Login succeeded. No browser needed. So you can do this. Look, you can do that too. Yes. You can do that too. I like it. That's it. Okay. Let's move on. Now What should I do? The base image is Amitabh Bhai's is ours. Pull it up. I will. And That happens, isn't it This is the base image of Amitabh Bhai. I pulled it. Okay? I've got the Chai app. Now. What should I do? Make this tea app your own. I will. How? We are new I don't want to do mine like this. Docker tag We have to do this and Amitabh tea this thing of DevOps The image is Just put your name in the latest one. Train vs Shubham Slush Child DevOps Latest. This is how you can change anyone's image. You can make your image and if you do Docker push Train with Shubham Child Devops latest so that push is done So you can take away someone's public image. You can push it by tagging it. Anyway, what was I supposed to do? I need to enter a version. Why? Because semantics Versioning Guys V1.0.0 So the latest way to do this is not V.0.0 This is the way to do it. Okay? But I don't have this image. So, the Docker tag V1.0.0 I tagged and did a docker push V1.0.0 I did that and pushed it in. Okay? Done. Now this is whatever I'm pushing, tagging does my image updater know this Is it? I don't know. Why? Because that image The updater doesn't know which image to send. Detect which image to scan He has to do it. He doesn't know. No idea. No. So what do I do now? Update your image in your deployment. Yes. So this Argo CD has one in it There is a folder in Argo CD Demos named There is an image updater in it. By The way this thing is used is customized. Brother, what is customization? Customization is a Such is the templating engine. Configuration tool What do you have to do with it? Make it simple like this. This is your deployment. The file is there. It's the same. It looks simple. Like this Make it. You have to make a service. Make a service Two. It's a bean. It doesn't look like it. Just one of it Customization A dotml file is also created which simply declares You decide which resources Yes. That's it. That's it. Now you If you want to make it for production then This becomes your base image, base manifest files and from there you can create multiple replicas, You can make multiple copies. So, We used Customize. Image The updater needs customization. OK Is it? We remember this much. So now Here I have posted Train with Shubham Child AvOps version 1.0.0. OK? Done. Happy done. What do I do now? Now I want to use the git credentials which I have provided here But this is the personal access token of Git that I have I had saved it and I will keep it secret. in. Let's put in the secret. So the image Let's put in the updater's secret. So the name Its will be Argo Image Updater Git Crates Copy this and here vim secret dot By YL Now put your Ghub username here. Just enter whatever you want. Like my username. Hey boy Shubham 153 and the personal access token that was Where do I get what I have It was kept a secret, here is the copy I did it and I went here and slammed it in. It's done. I'm escaping Wq. Now what do I do? I will do it? Cube CTL apply, you will say that Brother, I can't see it because of your photo. listen cube ctrl apply hfn f secret dot yl in the name space rgocd Enter Secrets Argo CD Image Updater Git credentials updated Now this is Argo CD Image Updater Git What did he do that he was running This is a service, whose should I show? These Image updater, this service is running, right? Running this with my geth credentials We've met. Okay? So this is a bit of a puzzle. Part completed. You have installed the image updater. Installed. Give him the Gate credentials Now what will you do? Now you just do it well. You will call your application Chai App that Brother, whenever you want to update then this is one Take an annotation, take a label like this You will update whenever Then my image updater will make the changes to git. That's all you need to do is add the annotation. Let's put it in. Then you can go to app.ml. And keep this little annotation with you. What does the annotation say? ArgosCD Image Updater Argo Project Image List Image List means you have your Docker hub username And you have to enter the name of that image here. So what? will ?'s image updater update this Docker image Will continue to scan regardless of the devops image Did you get it or not? Did you get it or not? As soon as he finds her, he will grab her. As soon as its version gets updated, it will I will update it in the application. That's it. Okay? Now, the write-back method is Which one is it? Git's secret method is Argo. CD Image Updater Git Credentials to He will also get the secret. The versioning strategy we will use What we'll do is SemVer semantic versioning. Three things to remember were the Argos CD images You need to enter a list of images into the updater. You have to decide which images you want to see. If you want to scan then here is my Jo Chai app She will stay here, I will train with my Shubham. I will put my username and tea devops is my I will put the name of the image in the right back method. What I want is I want that Argo Gibb's credentials were from the CD. I'll take and update strategy semver bus That's all you have to do, just do it once Keep everything auto-updated automatically in your app I will show you how it will happen Let's copy this brother, so you get a copy Come on brother, come on a little faster, brother, a little more Yes it happened quickly, okay what should I do with it? Give VIP Dottle Enter And I'll go and throw it here. Now here What things will change? Mary Jo The destination URL will change. If you want, you can use this application on these clusters. You can also drive. But okay, I mean right now. This Use that one too. Okay, this is it. Okay. So Here is my Argo CD cluster. Now Image Updater Tea App. So what is it? Updater Tea App. This is that repository ArgCD demos with image updater There's the Chai app and its deployment. Okay. Is it there? Where is it kept? It's on my gate. It has happened. Ok 153 OK, done. It's done. Now. What do you have to do? Secrets of the Gate You have entered it. You just need to add it to the image list. You have to enter your name very carefully. Need a username? What is my username? My username is Train V Shubham. Train vs Shubham. The train with Shubham is over. And my image is gone. What's the name? Child DevOps. So the image The name is child devops. My Docker image is now It matches. Everything looks correct. Pressing Escape becomes WQ Enter. Now press CTL Apply hfan f cha app dot yaml in the name Space Are Go CD Enter Tea app configured so means here if I'll go to applications AR This repeatedly This problem is only and only kind cluster comes in. If you run on EKS, it Such problems will not arise. If I If I hit refresh, I see it here. I want my tea app ready to go What? Yes, it is, isn't it? Here it is. My Chai app It is created. And its path is Image Updater. That's mine. That's my boy. Okay. Tea you A few seconds ago. This is mine. This is me All good. All good. Now Now the real game will begin. I want my Chai app to run on Docker Images Mera Jo Chai App Hai Train V Shubham Tea App Devops is my version of this The developer has brought me a new version. which is docker tag which train vs Shubham Chai DevOps JO Version 1.0 Was Now it has become Train vs Shubham Chai Devops version 1.0 One version has been updated. Right? Think of it this way. that the version has been upgraded. The developer has added some Changes were made and the version was upgraded. Went. Docker Images I did. I got this new version. Now What should I do? docker push Train vs Shubham Child Apps Version 1.0 1 I pushed it in. Now the layer is already there. Exists. No problem. So the layer already It exists. What can I do? It has a I'll make a version two. Okay? Images version. Understand it like this, there is one more version than the one that was version one. The update has been received and this version is available. The latest version is 2. Watch now. This is pushing. It's pushing. Now you Do you know what to do? Now go to your Image Updater Pay. Okay? Image Updater Pay Go ahead. This is how the whole app works. Okay. Check your image updater logs now. Do it. Check the locks on the image updater. Here's what's coming. Argo CD This image updater service is running, right? Here are his logs. See Starting Health Prob this he started something all. Starting Image Update Cycle Considering Zero innovative applications for updates. He didn't receive any applications. What did he do then? He still got zero. Updated Zero Updated Found. Zero Updated He didn't get the updated app. Yes. Here it is. Here it is. Starting image update cycle at this time Considering one annotated app for update then which That app was Chai app, he picked it up. Starting Image Update Sal Considered One Annotation Processing Result Application One The image is considered, he saw an image and held it. Lee Watch Now Starting Image Update One Image Cons Considered Processing Result One Applications An Image Considered Again do it An image considered will take some time It will take some time, what will happen with this It will also detect new changes. Okay, he'll detect it, let's go now. Let him explore for a while. what happened cubectl argoCD Logs Image Updater yes I saw Look what he got setting new image to train vs Shubham Chai Devops version 1.0 Elias Tea App Application Tea App Image Train with Shubham Now watch the successfully updated image train video Shubham Chai Apps Zero Version One to Version 1.0 0.2 It's all automated. I'm like that. I was sitting there, brother. Okay? Committing One Parameter updates for application Chai App. Oh so he initialized a commit on GH hit And basically successfully updated the live Application. Wow. I mean, if I go over here and have my tea, Look in the app So can you see 1 minute ago automatically updated The app is now off. Where this 0.1 It was two. What's up? Drop a Boom in the chat because without git pay I've updated the image. Now please Let's check our app. Let's take a look at the app. What's going on in the app? Now in the app If you look at Can you see what happened a few seconds ago? Author Argo CD Image Updater Comment Build Automatic update of tea app. The update has also been done. Isn't it true that I only Pushed gate sorry pushed docker. Brother updated. If you click on the read If you do this, you will find here that Here I saw Chai Devops version 1.2 Now your developer has released a new version from Lets I brought it. So you don't have to do anything. The one with the tag, hey not now brother This was taken from version one to version two. were. What can you do now? Version Two Let's take version three from your The developer added any new changes. From version two version three. And docker push like You see this version, I will show you now. I'll give that to my Docker hub on the child In DevOps The versions that are kept are two, one and Zero is the latest. This is not three. So what should I do now? Docker push here I'll also push the third version. Okay? What will happen in all this? As soon as I Pushed let's go to that diagram. My Image Updater Will detect that brother has pushed version three It's done, friends. As soon as he detects this thing, he You will understand that brother, you still have to work. Yes. Where will he put version 3? On Ghub. I don't have to do anything on my own. and Argo CD GITPS principles on This image will be updated here from Git. Argo CD will fetch the latest image and Qubitis Pay will deploy your app Updated. Let's see. So here we go. went to the git And Argo went on to CD demos. Can you see now? Meaning he updated it. If you want, you can also check its logs. Successfully Updated the Live Application and Its ID will also be displayed here. We'll see for ourselves. Look in the comments. I'll take it. Version 3 updated. Great. Now I I'll go here. It doesn't look like that. I'm just I'll refresh it. Now enjoy it. Ok? Oh my god, this is only 3 minutes long. This is huge. That's strange. It was just synced. Now Why are you doing this? Okay? If we If it doesn't, press it on the sink yourself. Two. So look a few seconds ago here. Look, new things will be made. Rolling updates on this. You will click and you will see that here Your version three update on the live manifest It's done. Without doing anything. I Nothing done, no CICD pipeline Nothing played. CD continued automatically. Deployment, brother. I'm enjoying it. I'm enjoying it. If so, please tell me in the comments. It's been four hours since I've been teaching. I hope You are having fun and you You may be able to learn something new. I want you guys to Prometheus Grafana integration also shown Let me tell you that notifications are also being sent. The images are also being updated. Prometheus can also build Grafana dashboards I am sure you should put it all in brother. Come in this, I'll break your hand, brother. Come on. What do I want to do now? All these applications are running. Great. Everything is healthy. Everything is perfect. They're healthy. They're playing and laughing. But I Don't do it again and again on the ArboCD server I will come to see if everything is alright. Brother, are you playing? The application is all great. Is it or isn't it? What would I want? I wish I had a Grafana Dashboard visualization Prometheus server is the same as Argo CD Take all the metrics that you have and Adjust it in Gaffana and make it look good. Create a dashboard so that my teams Let them know that in the Argo CD How many applications were deployed and how did it happen? Let him know everything. Let's do it now. That thing. What do I need? I need it here There will be a cube Prometheus Grafana stick. Brother, what is this? This I've also done Cubitis and One Shot videos. I have already taught it, but I would tell it again. I am sure that if you have your If you want to monitor Argo CD, you need a Monitoring seems to be a problem. Consider that your The Argo CD is playing on which one? It's going on Cubanatis on. What on? Cubanetis on the right is a cluster of cubes inside which your Argo CD is running. It is correct Argo CD is running. What you need now that these Argo CD dashboards visualizations Reports, logs, metrics, all of that. Things you'll need if you're planning to buy this Cubanatus in the cluster put a monitoring stick which is Grafana and Prometheus It will be fun. Brother, this graphana and What does Prometheus do? Well, I Observability taught in one shot But I'll tell you anyway. So Prometheus, right? Matrix Matrix Meaning I'll show you how. Cube, if you will. CTL Get All in the Name Space Argo CD So you'll see. This is very much right now. Everyone's in. Stop. Cube CTL Get Pads in the Name Space Argo CD To You'll see it has Argo CD There is a server, there is a repo server, there is Redis, There are many application controllers. There's a lot of stuff going on in it. Okay? Things are going on. And all these things are logged. is also creating. Creating a matrix Where do these metrics come from? So it's running on this cluster, right? It's going on like this. So if from here The Matrix is this Prometheus creeping in Come and send Grafana to become Prometheus Go to a data source And Grafana becomes a visualization dashboard It'll be fun, right? Let's do it. That's it. I have to do it myself. So what do I want to do? I'm the first one I see. Yes, that's it. I mentioned that your apps generate metrics. and by scaping the prometers Will put Grafana in. Okay? Now you have to see some services which is basically This is the Argo CD Matrix and Server The Matrix and one more remains. Server Server Matrix, all these notifications You can take all the controller matrixes. Prometheus has to pick up everything and throw it away In. Let's put it in. Now It's easy to install Prometheus and Grafana. There is one thing that is called Cube Prometheus Stk. So Krupp Prometheus Stuck is a graph help chart which will give you the complete Prometheus Grafana Install it on your Qubits cluster You will first need that help chart. You just have to install it. It's very easy. Help chart of Helm repo add Prometheus Add it. Okay? Here comes Prometheus. The community has been added to repositories. Now create a namespace called Monitoring of the name. And inside this namespace, your All apps will run. So helm install q Prometheus Stack in the Name Space Monitoring. So this is our Prometheus. There is a hell chart of the community, why in it Prometheus is stuck in it with Cubitus Inside Prometheus Grafana Sub with Connections He will create it and give it to you. Now he will It will take time to deploy because again It's Your help. So help as much time as it takes. It will take a while and he will install this thing. OK? Let's wait. Complete installation. Let it happen. It takes a lot of time brother, helm but helm na It will make your life a lot easier Add the Helm repo and then install Helm I have to give this ML, nothing is written It is written, look, it is written, look why it has become written Prometheus stuck dis deployed complete Deployed and admin user your Grafana username is admin and If you can get the password from this thing then take it. Take this and throw it here and you will get your password. The Prime Minister operator will come out and then Prime Minister Operator is your password so let's check it now where is Grafana running so kube CTL Gate Service In the Name Space Monitoring Monitoring Okay so your Prometheus Prometheus is running 1990 pe your gafana Can you see the alert manager anywhere here? Prometheus Stack Grafana Yes there you go Grafana is running at 80 ok Okay, so these are all the port numbers where Things are moving now we have to port it Port forwarding will have to be done For this, please come to your blue one. Come on brother, show me the commands for port forwarding. It should be given here quickly. Oh By The Way You get all the services of Argo CD. Like Service Matrix, scrap all that If you want to bring it then you will need a service monitor. So there is a CRD service. A custom monitor that is very simple It remains. Let me explain it to you. What happened to him? Yes. So it's a very simple manifest. The file is there. What do you need to do? Which API Its version will be monitoring.core. The API version will remain. All these things Where did I get this from? This Argo CD docs, isn't it, everything inside it Things came out. Let's say I need monitoring. So here I put Monitoring These Inserted this. Now trigger service from here, all this I've got my things. Now let's get to me. I want to see the Grafana dashboard. That's something else. It just opened. I get everything from here. If I need to do any type of monitoring. We have to work out the matrix, all these things I got it all from here. Look, here. All the ML files. When will you read all this again? So I made a one-shot video and uploaded it. Read on. Great fun. That's it. Now here it is. Kind what will remain will be the service monitor. You have three services to choose from. The first service is Where did Argosy go? Yes Argocd Matrix then other service Argocd Server Matrix and third The service will be your ArgocD repository Server Matrix. These three services have to be availed. These will be the names and the rest will be completed on the label. The game lives on. Why the Promise Tag Label Everything else will remain the same. Just the server. Matrix, Matrix and Repo Matrix. If you want these three things then copy this Take it and put it in your image updater? VI Matrix dotted and go here Slammed. And what's this? What's this about it? escape wq try the cat matrix once See if anyone has come up with something wrong? Nothing wrong happened, that unscented look just like that. It was happening. Okay? Everything is alright with you, right? API version monitoring kind server Service Monitor has to become three things. There are three dot separated files here. This is the first Which Is for Your ArgosCD Matrix. This is the second one which is for your Argocd Server Matrix. The third one This is the repository server matrix. cube ctrl apply hfn f Matrixal In the namespace argo cd apply kar do Done Service Matrix Created Error Converting yaml to json yaml control characters are not allowed ok something My brother made a mistake while copying. This, this, something has gone wrong, this, this Something's wrong, it's okay I'll delete it. What's in it? Here I deleted it from the . This was while copying and pasting Minor mistakes like this happen. I'm sorry. Give it and apply it. Created great. So As many as the Argo CD matrix Where will they go now that they are Matrix? Go to Prometheus. Argo CD Server Where will the matrix of the matrix go? We'll go to Prometheus. How, brother? How? We'll go to Prometheus. Because there's a There is a small thing called labels. So why these labels? matches the stack and Let's put your name in the match labels. It'll pick up from there, okay? Done. What do I do now? This is my The Matrix is done. All I'll get all the metrics. Now I What do I need to do? I just need to go to my dashboard. I want to see my apps. Whatever apps are running So Deploy Chai App & Online Shop App. I have my tea app, online Shop, all these are already deployed. He gets them monitored. This is what it looks like. These are all your apps. Okay. What should I do now? Prometheus Stack Port of Grafana I want to forward it. I'll show you If that repository was not there, how could I Finds the port number of Grafana I go to Cube CTL Gate Service. In the Name Space Monitoring I came like this. Now let's try to make me laugh. Service jani hai to cube prometheus stock gfana is its service name. Port It's running at number 80. So what about me? I'll go over here and write it down. cube ctl port forward Service. What was the name of the service? Cube Prometheus Stack Grafana In the Name Space Monitoring Now I need to know which port my instance is on. I need to map the number to the port number How much should I do? 3000 3000 whose map should I do? With port number 80 first I see this Let me try running something on my EC2 at 3000. So he's not there. So in the security group. I'll go here and click on Inbound Rules. I will check, there is nothing on my 3000. It's working, right? So I'll set the ad rule to 3000. But brother, no one will say anything to me Grafana will run. Save it. Okay? So cube ctl port forward service Cube Prometheus Tag Grafana in the name Space monitoring. This port number is done. Hafen Address 0.0.0 M percent so that it is in the background Keep going. Enter, that's it. Now I I also want to see Prometheus so that I It turns out that all the data came in Prometheus or he hasn't come. So where does Prometheus come from? Gone? Here it is. Cue Prometheus Stuck Prometheus here it is. Why Prometheus Take Prometheus This The name of the service is... So that's what I did for Grafana what he did for Prometheus I'll get it done. Just go over here and write its name. I'll change it. I'll change its port now. I have to. So what is the port? 9090 is fine and 8080 is fine. I'm with 9090 I will map it. So 9090 9090 Done enter now this 1990 pe promise is going on And Grafana is running at 3000. Okay? Now I went to Edit Inbound Rules and created a small I will post some more updates. Whom should I send on 990? What was ours, not Grafana? Prometheus. Done save. Now let's move on to our applications. So who's my 1990 brother? Our Prometheus. So here you are. Prometheus will be running. Here it is. Prometheus. Now you will go to status target If you look at the health of the picking up metrics from everywhere. Look Argo CD Application Controller Argo CD The matrix picked up Aago CD's repo Bringing server metrics up. Yes, he has all the metrics properly. Pick it up. Some of the status is down. We need to There's no need, because when the need arises We'll see to that. But whatever happens to us, Argo We had all the CDs we needed. The Argosd server is matrixed up. The repo server is up and ArgosD metrics I needed three. All three are up. It's done. Now Let's move on to our graphana. So Grafana pe and grafana http It's running on https. I'm here for a while. I'll tell you about https later. No scenes. If it is there then what is going on brother, let's email There was admin and the password was a pram operator It comes from that command, login a what The thing is, you are logged in, well done. Now here's how it works in Grafana There are connections, friends, so there are connections. If you have no data sources, then if If you want from somewhere else, there are so many You can do it with the connections. But here's the data. Already your Prometheus in Sorceress The data source remains. So, in that, Your entire data source will already be there. It's fully configured. All you need to do is How to do it? You should know how to build a dashboard. Okay? This is the entire dashboard. Now What do I do? I go to the dashboard and I'll create a new dashboard. All of this already. There are built-in dashboards. Okay? I'm new. I'll make it. Then I'll go to New. New I'll click on Dashboard. Now I'll either I can add my own visualizations. For example, The ad went to visualization. It came like this I selected Prometheus as the data source. I've got it. I'm here. Now what's the point of matriculation for me? I want the Argo CD ones. Argo So I need Argo CD app info. Select Label Let's put this in. Let's put the project in. Which project? In the default project. So in the default product project What all has come? All these things have come. Now Here I will give you complete suggestions. It didn't come from the lats. So you can do the operation in it. You can put it in. Doing something like this is called aggregation sum. You can put it in. Run queries. Okay? Did you have any suggestions? Yes, so this is something that came to mind. What is he saying? Argo CD App Info project default. So the default How many apps are in the project? Five apps Yes. Let's confirm how many apps you have. Do we have any? 1 2 3 4 5 Great. So this You can create a dashboard this way. But Brother, if this continues, we will become old. creating so many dashboards. Something like this Tell me something so that the magic happens and everything The dashboard should be automatically created. I'll tell you. Go to the new dashboard. Save this, friend. Poor little guy. Okay? Now on the dashboard. Go to the new dashboard and Click Import. OK? Import. Now here's something really interesting. Find an import dashboard at graf.com Dashboard Go to this website. Went to the website. Now search here On the dashboard, type Argo CD Enter. Now it Look at you, a very strong Argo CD. The dashboard is visible. Wow, so beautiful. Just copy its ID to clipboard. Here. I've copied the ID. Dashboard ID. Copied. Go here and copy the Dashboard ID. Drop it. It's done here. Load it. What is this? Done? No need to load here. Load here Yes. OK? Loaded. Name Argo CD Folder Dashboard Import. That's all I had to do, friends. All your dashboards were created that from day one My Argo CD server is running brother. There are two clusters inside it. One is our Argo cluster. CD cluster and the second one is our in cluster. There are six applications. One application There are five more applications in the front end team. The default project has a repository Connection is available. Application status is healthy. The sync status is synced here. Status of the controller, this is the controller brother The status of your cluster The cluster boomed a little while ago Was. Did you enjoy it? How much fun I had. How much fun I had. Just text "boom" in the chat. If you You understand how to create such a dashboard. Last Why do you need to know about 30 minutes, brother? 6 hours. The video is playing from 6 hours watch Let's see what happened in the last six hours. Oh my god, my god, my god, my god, my god. A lot happened in the last 15 minutes. What has happened? All these things have happened. What's the matter? Should I send you an application? Well, you also know that you will do this, friend. Drop a boom in the chat. If you're still excited. What's the matter? It's been a while. It's been. How long has it been? Oh my god. 5 hours. OK. The caravan will continue. Don't stop. This is how you can store your Argo CDs. You can monitor it friends. So you can create a dashboard like this. See how you can create dashboards like this. If you need a more operational view, then a I also put the ID in the repository. 19993 Now go to Dashboards and go to New. Go to the import and load the 1993 one. That's it. Click on Import all the connections. It will be done automatically, it will be visible here Your tea app project looks healthy. Sync Your sync status is slightly out of There is a sink, look brother, go and be a DevOps engineer. Go and see, this is the controller status. Your controller status is what's up brother What happened in the last 30 minutes? Is So in the last 30 minutes, buy the online shop app. A lot has happened. What has happened? So click on it. Whatever you want. Click on it. You will see all the details of that app. These things will be visible right there with that app. What all has happened with it. OK, no problem. Dashboard not found. What's in it? You can use the DevOps engine. Yes. Repo Server Status. So this repository The URL of this repository has also been uploaded. How many times did we sync that whole thing here? I've seen it. Absolutely great. Fantastic, very good. So this way Friends What did you guys do? You guys Argo The CD cluster was also monitored. Oh, yes, so you've also updated your image. Monitoring was also done, Prometheus was also done Gave it, also integrated Grafana. A little about role base access control Please tell me that too, brother. RBack means role-based. Access control is a very important This is a topic. Understand this way that when I am here Login to your ArgosD cluster I have logged in as an admin user. So, are you using the admin user? Please share your username and password with the entire team. What? You won't be able to. Which is basically Why you need roles that this is Shubham. Its If the role is let's say admin then he has this All access is available. Shubham is the second from this LETS. There's someone called Shubham. His role is something else. He has less access. So, depending on the role What access to give or not to give That thing is called role based access. Control. Let's first understand that How does role base access control work? Let's understand a little bit of the theory behind this. Understand that there are two types of Argo CDs. users live in. So these Argo There are two types of users for CD. One is your admin user Which is your admin and your test address 1 2 3 Whatever password you entered and The second are local users. Local users. Now these local users will either have to use the UI access to the console or Access to your command line interface (CLI) Or there will be access to tokens. Meaning, this is done through personal access tokens. access to either or both So either you create an admin user and Use it as an admin but it is the same You can have an admin user. But if your team is large, If so, creating local users is the best. Let's go. I teach you that in Argo CD How to create local users. First, Let's go to your in the same folder where our He's the security guy. Now whenever You have to create a user, whatever the user's name, whatever the user's role is, whatever the user's You also have access to that in a config map You make it. So here I have the Argo CD. User CM ConfigMap has been created. It's very simple. Look at the config map. What happens? Data happens. So kind of Name Argo CD in Config Map Meta Data config map namespace argo cd.now What's in the labels here? App Name: Argo CD CM Part of Argo CD.So What does this basically do? It is useful to identify all the resources that are a part of this particular name. Now here As I told you, there are two types of accounts. There are accounts. One is your admin account. Or one of your local users There's an account. Okay? So here you are. You create an account and here you can verify your account. You give me the username. Let's say Alice, Bob, CI user, these are all three users. Alice has also been given access to the API key and logs Access to these is also provided. Access means access to the UI. Right? Bob. Gave only login access to And CI user needs only API keys In this way, three users Made with three different types of access. So I will copy this and save it to my server. Pay and one Is there a folder here for the user? No. So MKDIRR Backak name I'll create a folder called "CdR Backing" V.I.M. local Config map for local users config map local user config map dot yummail or you can name it anything. End You've got that down here. Let's say I don't want to name her Alice. Shubham So here I can put Shubham Yes. Let's make me another user. So here I go to Accounts Dot Shubham what access do you have to give to this? You have to give them access to login. Whatever you like, you can do it You can put it here. And after doing this, I'll save it. I will do it. Now I will apply it. Cube CTl Apply hfn fl user config maple enter now argo CD Config Map Configured Now Here You need to check if I have users. How many have been made? How will you check? I've put it in here. This, this I'll explain it in full what happens. Okay? What is this? All these things. Let me tell you. There's a yes, by the way, you If you are an admin, you can go here and view your user info. You can also go in and see things that your Whether there are any other users nearby Settings I went to accounts and saw that I became an admin. is Alice is Bob is CI user and Shubham If so, you can see all this as an admin. You can because you just made it but what is alesse's password how does he log in If you don't know what it will do, then let's use the password. Let's create it. Its command is very simple. ArgosD Account Update Password Hashing I entered my account from here. Argocd Account Update Password Account. Now I have to keep the password for Shubham. Enter OK what are you saying? Fail to ESTABLISHED CONNECTION. CONNECTION REFUSED. Oh, so basically our connection is broken from here. It's over. Hey, why are you so upset, brother? Connection? What happened to him? Argo CD Cluster List Ah, whenever it gets stuck here My connection is lost. I'm working on one thing. I'll close this tab and do it But it shouldn't be like this. So much. Why? That is why this connection too has been dismissed now. Will be done. No scene, we'll recreate it. So I Where do I go in the new tab? I'll go to CD downloads and go here. own Log into the running EC2. I will. Look, I won't give up no matter what. I've done that, log in, and I'm I've arrived inside my server. Now What should I do? Give it some color. I give it purple because this poor thing is the last one. He came at the right moment and saved our lives. What do I do here? Control-R Recursive search in Argo I'll run the CD service server. So this I also started the server. And now I can see my info. I can take my account and update my password. For Shubham enter password for current locked in User Admin So how do I get my own admin password now? The user must first enter a password which Is test @123 Enter Enter the new password For user Shubham, what is my password? I will enter it, friend, I don't know many passwords. So I will enter test @123 only, confirm password test @123 enter Password updated, what should I do now? Let me open this, first of all this Our connection was reset And I will do a small thing, an incognito I try to log in again in the tab This time I will log in as Shubham. what should I try hey friend let's log out I'll let him know, so I logged him out. Click on it in a new tab and here the username I will enter Shubham and enter the password Test @123 I signed in Shubham Sign in now If I go to applications, no Applications available to you. Shubham ko to Shubham can't see anything. It is visible. I can't see those repositories. Yes. I can't see anything. While this There is everything on the cluster. So Shubham is a new The local user does not have access to anything. Now I have to give him access. How do I do that? If I have to give him access, then basically I have to understand two things very carefully. Those two things are called roles. and policies. From the Roles and Policies Role Letters I Gave him the role of admin. So as an admin, he can see all this. Now what should be the policies of the admin? that the admin can see all the projects, can see all the tokens, can also view, Can create as well as delete It is. It can do everything. Right? So this I have a chart of policies for you. I've provided it here. So, here's a chart of policies. So, two things you should keep in mind very carefully. Have to put it in. That's the role and the policies. There are roles and policies either you are a user You can give it to someone or to a group. Yes. So if you want to give it to the group, If the group does not have one-by-one policies Directly assign roles to the group Yes. By the way, what are the policies now? In policies you can give all three roles, user groups You can. Okay? For example, what are they? You can admin as an admin in policies Yes. So as an admin I can use the applications I can get it, I can create it, I can update it, I can delete it. I can do everything, sync, action, etc. OK? But some things, for example, like a User cannot. I am a user. Cannot create accounts as a user I can't create a new admin or I can't delete it. So all these policies Yes, friends. These are all policies. So now how do you remember the policies brother? So what is a roll? Name set off Permission. Let me put a roll from admin, put a role DevOps Engineer, Put a roll of tester in. So maybe tester Should have fewer roles and fewer policies assigned. Devops engineers probably need more policies. All policies are assigned to the admin. Yes. What does the policy do? Roles are linked to actions. It binds me together that this is my admin What can he do? He can do everything. What can my DevOps engineer do? It can do all these things. So it Policies are basically actions. And Subject Basically your user we subject The subject has lost all feeling The subject has been screaming for 4 hours. being shouted at. So such a subject user Or a group. Okay? Got it, brother? How do you spell it? This means, this means, I understand the policy. Yes, I mean group. I understand this. I write How is this thing? What is this? What is all this? So what's all this about? What's in the resource? Will you go? Application. So let's say if I have to I want to make a policy that my user Shubham How would you write the application if you could get it? It is like that. Look at P Shubham what could you do Resources Application How to use all the applications Sake Action I can do everything, I can get it, I can delete it too. I can do all these things with Lets Get It Given that all these things have come Effect bonfire such a bonfire has become a deity So this is a complete policy. It becomes a statement, friends. So this thing It happens. Now I will tell you how to write it. I'll tell you. I'll definitely tell you, my friend. Roll Based Access Control You Got It What? That you made a role. This role have some access and stick this roll Gave it to your user. That's it. Now let's go. Let's make that thing. This is the chart. Now we have created local users. What will we do? We will do something great. Yes, we did all that. Buddy. Yes, this is an example policy. A config map is created. Again, the config map See role-based access control policy. How is it? Some roles are built in. Like P P stands for policy. Roll read Only roll. That is a roll that is read only All applications can be gated Apart from applications, another role is to read Only apps can be synced Deny objects that have a read-only role If so, it won't be able to sync. It won't be able to sync. But if your If the role is admin then it can manage the applications Star Star means action here here get sink Star in the line of action what is action Get Delete Invoke Create Update Sync Everything As an admin you can do everything on your Aloud with the application All policies are allowed to the admin. It only has a role for a few applications. Getting is allowed. Sync is also allowed. No. I wrote "deny" here. Do you understand? Gone? This is a policy. Now if you want You can also create custom rolls that will make your The policy is that there is a developer role. So, the developer can gate applications. Which To the application? To my project. Or Whatever your front end teams or default ones There was also a project, he can get it. Apart from that, whatever number of projects He can get all the applications. It is. What does that say? All the projects Get all the applications that you have. It could. It works like this. Now what do you Do it? Make a group that what does group Alice Will you give me a role? Will you give me a role for Alice Read Only. What can he do to her? Read-only. Applications will be able to get it. Will not be able to sync. Bob I've given him the role of admin, brother. And here if You need to enter a group name my org Any team or such, you can also enter the name of the group You can. Let's try this. Okay. Is it? Let's try it out. I'll copy it. Well, I did. There is a file here named Here's rgo cd rback. This is the file. So, I have included some policies in it. Let me read it to you again. All over again. I will teach you. What things do you have to remember? ArgosCD has accounts. One would be There is an admin account that has all access. There is a local account or local User who can access the system either through UI or CLI These are accessed through tokens. There are roles in that now too, and There are policies. So, look at the roles in this. What are the policies? See Lo. P It's a policy role developer so a what is the policy for developers brother I have a It is the policy of the developer to My Gate can do it for applications All the files in the project name Getting applications allowed for that Is. Now there is another policy that which is developer role What can he do for the application? Can sync. Sync allowed What's the policy for admins? role. All those applications, all those things Can do it. Get, delete, sink, blow it all I could. What am I doing now? Alice I'm assigning the Developer role to Bob. Assigning the admin role. Let's see. Are. So, let's copy this. End Go to your server and set VIM roles to Let's make it and then go and dump it here. What I want now is Bob. I'm nothing, not Bob If there is something Shubham, then I will put it here. So I gave the role admin to my group Shubham. and give Alice the role of developer. Given. OK? Escape con wq Enter Cube CTL Apply Halfn F Rolls Yamal in the name space Argo CD Enter Configured Now let's set Alice's password. So that Alice can be given what roles You'll see that too. Account Update Password for Account Alice To Alice Your password is the admin password. test @3 Alice's password test @3 brother I don't know anything else, test @23 done Alice's password has now been updated. Now look, this was Shubham, no applications. Now look, he can see all the applications. These are the user info Shubham Now all the applications are visible to him. Why? Because he got the policy anyway. No. Now let me do one thing. I'm not going to do this. I remove the delete access or I'll add the developer to the group. What will I do here? I will go into roles. Now whatever role Shubham gets Admin was given, I removed it and Shubham I will give the role to him. Developer See how to write your own devops Developer Now what I will do is apply this thing I will give you escape call wq cube ctl Apply Hafen F Rolls Dottle Roles Configured Now I want to see whether role base access control According to what Shubham can access Is it? Look now Argo CD Admin Settings R Back Can Shubham Gate Which one was that? My project Slush all the applications in the Namespace ROCD can this gate o My project is not a valid resource What was the name of our project? is my project correct ArgCD Admin Settings Are Back Can Shubham Come to the gate Can Shubham Gate Applications In my Project ArgocD Yes Shubham can get applications in my Project ArgocD but as a developer can Shubham delete the applications No, because it is based on my role. What is written in the rolls? The developer can only gate my By syncing the project he is allowed to It is possible but there is no policy for deletion. So if I write sink here. Can Shubham write sync instead of delete? Please tell me in chat what the answer is. A sink will come Why yes because he can get it to sink He can do it but he cannot delete it. In this way, you can implement role-based access control. Create roles and give them access. Like the VIM roles I put in. Now here I gave Shubham the role he deserved. Of the admin. Now I gave the admin role to Shubham. What are the admin policies? The policy is that if your role is admin If so, you can do something to any application. You are allowed to do that too. Escape colon wq enter cube ctrl apply hfn f roles In the namespace Argo CD configured Gone. Ask him now. That brother, our Shubham can, Shubham sink Project Argo CD? Yes. Can Shubham delete delete Yes, he was saying no before. Why? Because He was a developer. Now, if I say this right here whether Alice Can I delete applications? Can Alice replace Shubham? What is Alice's role? The developer is Alice Delete No because she I hope you understand now. Explained how to use role-based access control It's a very interesting topic. It is a very interesting topic because You You will create users and assign them roles. You will make his policies and he will act accordingly. Users will be able to use some things. You will not be able to use it. And you can also use Argo CD. You'll be able to control production. Friends. Control is the biggest hack you know. If you If you can control it well, then your The production will be safe. If you can't No brother. If you want to validate your policy If you want to get it done then this is a command by which That you can validate your policy file You can. Like these rolls I made. The policy is valid. If I accidentally do something If entered incorrectly, the policies would become invalid. It's there. Okay? So, all these things we People got it covered. That's great. Okay, nice. That's all done. So, O. SSO is a very interesting topic. Friends, what would have been the SSO SSO scene? Yes? How are you logged in now? You're here now Went and you took the edge, here is its connection It broke again. O! So how did you log in now? Logged in with the admin username and password. But there are other ways to log in. You can also login through GitHub. You can also log in through Gmail. There are many providers that You can login through it. So let's login. No, the entire document, Amitabh Bhai has entered it for himself. Click on SSO Do it and complete it completely Read it and follow it just one by one I'll explain it all to you. What is Dex Dex? Understand it like this This is the Argo CD This is the Argo CD Argo CD is an identity within itself. control open Identity Control Connect I have all I mixed it up because I was very late. I'm teaching. But open ID connect this one There is a tool that allows you to download files from third parties like GitHub Gmail Lots of different octas Auth Zero, all these services are there It helps to connect with them Open ID Connect to OID and ArgosCD It remains with the user automatically, meaning it remains inbuilt. This is what we call Dex dex so you have to dex and github Basically, you have to get it connected. It's called Single Sign On (SSO). Right? That's all I need to do. Let's get it done right now. From. Now what will we go to SSO For? First of all First you need to create an OAuth app. In giub. How? Let's follow this completely. Let's do it. Cool. Let's see this repository. Edge One Shot Repository Full Tutorial for Your ROCD. Let's follow this. GitP Go to Settings. Developer Settings > Oath Apps > New Oath App. OK? So many have opened. Close these. Brother, this one. My The laptop must have used up all of the RAM by now. All the tabs. Oh my god. Open so many tabs. Let's go to Settings Developer Settings. Then Oath apps. Come on. I went to Settings. Now I went to Developer settings at the end Developers. Went to Oath Apps. End here I need to create a new Auth app by going to whose name I will put Argo CD app. In our documentation What did your brother write? ArgosCD. Now Its home page URL will be on this Enter your public URL. Okay? Let's than I put in the home page URL. Now what is the IPP address of the instance? Refresh it. It's different after seeing this. I get irritated. I don't know why. It disconnects. And by doing this I entered the public IP of the instance here I gave it. Okay? I put this in. Application Put a description saying this is a cool app. OK? Authorization Callback URL. All you need to do is enter a name in the authorization callback URL. Just write a short line. Whatever yours is. IPP address is the same API dex call Backkk Okay so what this is as it is API Dex Call back to get your gate and your desk Authorize, authenticate, all of this with each other. Could do it. Okay? And that's all you need to do. Now you have a client. Things to do. OK? Oh https in URLs as shown in above Ghub Only allow https callbox URL. We the people We still have to grow up a little. We'll have to work on the EKS cluster. Let's go. Let's create an EKS cluster now because I need HTTPS, right? I need HTTPS, If you want a production cluster, then for that I told you no in the beginning. That we have to go to the HTTPS one Part. That would require EKS. Let's go. Let's make EKS. It will take some time, but it will be What do we have to do? First of all, To build EKS, we need people from AWS. I have to go to IM. You'll need to configure your system. Let's go. I'll configure it. There's no scene in it. Yes. I'll create it right away. Create a user Yes, the user whose name is given EKS User or EKS Admin whatever you name If you want to enter it, the EKS admin will provide it and This is called a part of the AWS Management Console. No access needed. Next, now give it a Attach the policy, whatever policy you have basically your administrator because I want to create an EKS cluster. Requires VPC, lots of load balancers If I need things, I will I will enter administrator. Next create administrator access The user is now my EKS admin. OK? You've become an EKS admin. Now I want to enable it on security credentials. I will go and generate access keys for it. So you've generated the access keys. I need a best practices CLI. Okay? So what am I saying? I You will find Argo CD inside an EKS cluster I will tell you so that we can use HTTPS completely. Configure the EKS cluster and then We were able to do SSO. So all these things. I understand, next, okay. Create Access Key. Our Access Key is created. Let's get to this. What can I do now? I'll give it to you? I'll come to my local. Okay? I'll run it on the local train. Because it's on the local train. You need a very important thing. Which is known as AWS CLI If you need the AWS CLI, I have it. If so, configure AWS AWS CLI if you need to install it Go here on Argo CD in one shot You'll find everything here. Where did it go? This God. Here it is. Go here. And here you have to go. Repository named Argo CD in One shot and scroll down here a little bit. Pay You Bonus HTTP Hosting Argo CD You'll get it. Okay? Go to this and select AWS. CLI I will add to this that AWS How to install the CLI. So, AWS CLI Install, just write this nicely From the documentation you can learn Linux, Mac OS, Windows You can install it in any one, right? So I wrote AWS Config. Now you can access it. So, this is the access ID. This is the ID, copy it and paste it here. Enter. Accessed this secret. Copied And I pasted it. Brother Give full access to your AWS account I'll delete it. As soon as it The video will be released, I will delete everything. OK? Let's set the default region to US2. I'll keep it that way. Okay? Done. So my AWS CLI on my local Computer pe local laptop pe config ho It's gone. Okay? What am I going to do now? Now I just need to install one small thing. Dunga vi is non as eks ctl. What does the EKS CTL do? This will help create the cluster. This is the complete command that you can use: EKS CTL Will you install it? Okay? Okay, great. And I'll run this here. Give. OK. Enter, what's wrong? Come on, don't forget to I have too many things I copied so much stuff. I didn't want to copy anything. So, just I had to copy the part. And then go and paste it here. was. Enter OK password EKS CTL Try the version, it should work, if it doesn't work So that means that EKS CTL is yours not installed OK version has arrived, which means your EKS CT. It is installed, which means you are using the EKS cluster. You will create cube ctl in your local If you want the Cube CT version, I have it. Installed kube cel helm need helm I have it installed in my local Generally everything remains installed ok I want a great domain name. It's okay. It's okay, even if there is no domain name, it will work. Now you have it, all you have to do is EKS ctl create cluster rgo cd cluster in the region whatever US West one and these like If you want to write the command then what should I do? I want the US instead of the EU West One West To me, generally I put all my resources So this is EKS CTL Cluster in EKS from Create Cluster A cluster named Arbo CD will be created. Enter now this will happen. Now EKS It takes a lot of time to form a cluster. Not much to become of EKS test Meaning as an Amazon employee, don't say that. I want to become a butt ess test It will take you around 10 minutes. How can I entertain you for 10 minutes? I will do it. Let's do a quick revision once What things have happened and what There are things to do. Let's go. by the way Did you see us? Hey brother. We have taught you all this. A lot. Great, brother. Absolutely fantastic. So we Roles in Role Base Access Control, Policies and permissions explained. User Management, local account and told this. SSO is saved. Okay? So starting with If we write, we've done enough. Look! Amitabh Bhai is sitting there live. I told you all the things like setting up your CD. I told you about integration, I told you about image updater, I've specified the obligability via HTTP. Okay. Argo Rollouts, Argo Work Floss and Argo Events. Friends, the name of the video is Argo CD in one shot. Argo CD in one shot not Argo Prz in One shot. So Argo Praj Argo Project Joe Comes in that Argo CD roll out. Events Work Floss This is the Argo CD in one shot. So in this video That's all we'll do. These three are separate. It will come. Okay? Because now, my friend I'm not tired. Look, I'm not making excuses. Yes. But that would be the wrong wording. Argo CD in one shot so this much in CD comes as high as it was. Roll out is a Different story. Events are a different Story, WorkshopLow Is A Different Story. So she'll be in a different video because It falls under the Argo Project. In Argo CD This is not the case. This is the case, so there's so much coverage. We will. As for our full CICD Project with ROCD. I'll tell you I'll show you the project quickly. Is it? What do you want to do? Boy Shubham 153 Go to my GitPub repositories have to go. and Here's where you need to go to Rito Retail Store on the app. Now if you look carefully here So this is a multitier application in which Orders Checkout Card All of these There are applications. As you imagined All the applications have come to mind now. It must be. In the folder with its Argo CD. You have to go. I have done the project here. A project has been created. App Project. The app must have cleared now, right? What is a project? It is Repository. This is its role base access control over access to these things Now what all is included in this project? There are applications. So in this The applications are numerous. Retail Code These retail store cards, catalogs, check out, orders, UI and the functionality of these applications The Git repository is here. The path is here. We will also cover this in depth some time. So this is our full CICD project. Brother, this is a CD, isn't it? This is an RO. CD is done. Where's CI? So right here. If you go to git there is a branch named afs. hidden. You will go to the branch named GitOps So you'll get workflows. So here Work threads will be very strong and complete How is the entire CICD pipeline built? I have told you all those things that How is Everything is Mentioned Now made? I'll tell you everything. Let's see if it's still there. The cluster is already forming. So let it form. 2. Let's see what other steps there are. Will be involved. So whenever you run this thing What steps will be involved? You will be able to see your cluster. Then an OI DC There is a provider. As I said na argo cd me oidc so that thing you I'll have to add one. I'll do it. A new group. I'll have to build it. I'll build it. Cluster access Get nodes and this will happen. Name Space Cube CTL will create Argo The CD will be installed, it will be done, right? I hope I am confident that the last 5 6 In an hour you have learned all this. You understand that namespaces in a cluster How to create Argosd in it Do you want to install it, please comment below. Bhaiya it will be done, okay let's go to Ingenix Ingress Controller Cubanetism One Shot This was taught in short. OK. You need to enter the certificate manager. Let's encrypt. Okay. Great. Okay. That's great. That's pretty good. Brother, you've done it right. Okay. Let's go. Interesting. Interesting. Interesting. Let us go. OK. Once our cluster is created, we All these things will apply. And then the fun will come These are just a few things that need to be changed. Example: You have to change your domain here. And Let's Encrypt would have been an authority. which provides you with an SSL certificate It does. Just enter your email address. It happens. It's here. Don't enter my email. A lot of people entered my email. Only certificates are being made brother. You'll get me into trouble someday. That's one thing, brother. It takes a lot of time, friend. Let's go. Ah You can't even pause the video. One Shot It's a video. Let's do it, friend. Let's pause it. Yes. When will this be done? Oh, by the way, one more thing. I had to tell you. We will talk about the project. Then after that interview preparation. Yes Interview preparation in this video There will be no interview preparation. I end I will tell you how to prepare for the interview. Mostly for interview preparation For this, you need several things like PDF. It is needed. I conduct quizzes. Some mocks interview questions And all these things will happen face to face. You will have some notes from the interview. Now you tell me I'm on YouTube. How do I upload a PDF to YouTube? How do I conduct a quiz? I'm on YouTube. How do I take mock interviews? Where do I get my notes? Should I upload it to YouTube? That's why Train With I have a great free Argo on Shubham.com CD Interview Preparation Course for you I'll add it. Link in description. And from there you can get the interview questions. You can access it well. Interview You do your preparation from there brother. What nonsense! When will this be done? Cluster? I'll have to pause the video now. Let's pause. I think it's about two minutes. It will be built in. When did I start? Yes, it will be ready within 2 minutes. 536 545 Yes, it will be ready within 2 minutes. Just as I thought I would take a break, I wrote this. K Aya that successfully created I thought the cluster was created but That matrix server was created. Successfully created add on VPCCAI Okay, I think it will happen in a few days. seconds it will be done o became EKS cluster or CD cluster It's ready, it's 5:48 now, folks. When did 536 start making it? How much is it 12 minutes 12 minutes is good 12 minutes Great, our cluster is now complete. Ready. Now this thing has some OIDC providers, some add-ons, all these things add Let's do it. Come on, where did ours go now? Ah, yes, here it is. So, our cluster is created. If you are an EKS CTL Gate Clusters run this command in the region US West to then you'll see that our Cluster Argo CD Cluster Should Be Live. So the Argo CD cluster is live. Okay? That's great. What should I do now? If you If you want, you can also see this EKS here. You can. EKS Elastic Cubes Service You can see the production here. Cluster God, two clusters are not working. Yes, the same thing is going on, I forgot once. Tha Bhai Cluster Bana Ke Argo CD In One shot sorry Cuban is in one shot made brother 2 months Later I remembered that I had not deleted the cluster. Oh my God, what a scene my bill was torn. No, there is no scene, everything is fair for you people. Yes, brother. So here's your cluster. This is its The end point is here. Everything is ready. Now I What will I do? Now I'm going to do my best in it. I'll set up a context config of. So AWS EKS Updates Queue Config Region and Name from ArgosD Cluster You will. But before that, you can add a note group. Do it. So E's CTL Utilities Associate From an OIDC provider, you basically get a Add the OIDC provider. Now I told you a little later, I told you earlier. What is OIDC? Open ID Connect So that you can get information from different sources like ghub You can connect to Gmail. So OIDC Approve your RG CD cluster Are. OIDC Provider OK, created. Let's add a node group now. So EKS CTL Create Node Group in the cluster Argo CD region What does a node group mean? Basically, a Let me add an extra node. Add two nodes. I'll make it 2020 GB. And that's it. There's a little work to be done. Region EUS you Whatever region you use, according to your needs. You can use that. So here I am. I will give you USBS Two Done. Now even creating a note group It will take some time because it is an EC2 Arrange all the things to create the instance If he does, he will do the building management note. Group Stuck Waiting for Cloud Formation Wherever there is a pause in the video, where I am also waiting for you sitting like this You don't have to watch the video, you have to do hands-on. I have to do it. For example, if I do this I'm trying it, so you should try it too. Kind Do it on the cluster. Do it on EKS. Whatever you If you want to do it on the cluster, do it. But don't waste it. Time. I know this is such a wait, only then I what I do? Something is coming up, isn't it? Waiting for Cloud Formation Stuck. I Some And I start teaching. I start talking about something else. So I don't want you all to waste time In any situation in any case. So Wherever I find time, you guys So I start talking to I'll do it. A lot of people were asking Bhaiya Batch 10 When will it come? Friends, in 2022 I I started teaching in batches. Before that In 2019, I was teaching at Symbiosis, In different institutes at MIT I used to teach. Then I started batches. Very The batches went well. Lots of people got jobs. I really enjoyed reading it live. all the things And then I thought, man, I do the same things I've been teaching again and again. Batch one, batch two, Batch Three, Batch Four, Batch Five, Batch Six, Batch seven, batch eight, batch nine. In nine batches I've been teaching the same things over and over again. So I I took a break so that I don't have to do batches right now. I am going to because there is something new in the market Not coming. But Devops in the market right now has reached a different level. Where Generative AI Agentic AI ML Ops New of ROCD Work Flos Cubitis AI Applications on Versions Cubinetis Because the world is talking about AI. If it is left then it is enough for me for batch 10. Interesting topics have been found friends Generative AI for DevOps Your Interviews The preparations are too much I am excited for Batch 10. Now when will that happen? Will it come? How will it come? I can't say anything right now, but it will come. Why? Because the reason why I batched Stopped because there was nothing new in the market It's coming. Suddenly, the AI enters. And here, brother, there's a lot of excitement. There will be a batch of 10. Comment me Batch 10 Write to me if you are interested. Very I am very much interested Guys, let's form our all-note groups. And our entire cluster is ready. OK Now I want to create my local cube context config. So AWS EKS Update Kube Config in the Region Whatever my reason is, what is the reason after clearing it? Is mine? US West to name Argosy Cluster Enter Now I have my context. If cube ctl gate nodes then I should have three nodes. Basic There should be two not three because the The control plane is what EKS manages. So the control plane doesn't work for you. You will see nodes here. Nodes, how much did we bid here? There were two bids. So two nudes are visible. The control plane that EKS manages OK? That's it. Two nodes are visible and Your instances may have been created there as well. You go to AWS, here you go to EC2. So you can also see your instances here. Four must have gone running. So these two of yours Argo CD cluster nodes are also visible. Discussions are currently going on at the production level. Ok? Let's go to the next one now, we are here. Installation of Argo CD then cube ctl First I use create namespace rgocd A namespace in your EKS cluster I will create a CD named Argo Now either I install it through help or can I install it manually? Yes. I showed you both. Manual installation is required. It's great to go through it. You can also do it. Through help, you If you like, you can do that. So I did this. I've covered both in the video. Okay? Done. Custom Resource Definition Argo CD Project created. OK done. Deck Server It's all created, brother. Oh, it's all created. Yes, great, great. Even notification Controller created. It's all there, brother. It even includes the Redis server. I'll tell you right now. If there's cash, The Argo CD that remains remains stateless. It doesn't have its own database. If it remains, it stores the cache in Redis. All the things so if you have a highly available Creating an Argosd Server in Your EKS cluster so you can scale that as well So this happens in a very strong way. Argocd is done now what do you All the pods in ArgocD I have to wait for him to get ready. The command is kubecl wait for condition ready All ROCD time up means up to 30 seconds Will wait and see how all Argosy's Now! There are also pods, whether they are ready or not. RGOCD's application controller has been created. Application Set Controller became.dex became It's done, notifications are done, reds are done Yes. Everything has become conditional. So basically, Cube CTL Get Pods in the Name Space Argo CD Everyone will be running. All are running to your Argo. The CD is working. Okay, let me just go to that. Argo CD ko yeh yeh jo abhi hum log You were doing some small-time work here at this port. I won't forward it. Absolutely not. We will. We have an ingress controller. Let's sit down and access it. Let's install the ingress controller. So Helm repo add engine ingress so an ingress from this Add controller to your Argo CD server I do. So Ingress Engineering has Bean added to repositories. Now at the helm Rambo Get the latest charts from the update. Done. OK? Update complete. Now just me. From help install ingress controller Ingress and enable SSS pass-through I need to do SSL pass through and by doing this I I'll just press enter. What happens next? What is a controller? Let me explain. By the way, I taught at Cuban and One Shot It has happened. But still This is your Argo CD from Let's. Right? cluster. So, this is controlled is inside the environment. Right? So, if me As a user, I want to access from outside. How do I do that? So, I need a load balancer. I will need the type of thing that I request redirect, control. So, his For this I am using Ingenix's Ingress Controller. I'll use it. And this same thing is installed now. So, what is Helm doing? The ingress controller is putting it in. This All the things I did in Cubanz One Shot Studies have been done. People who have studied Cubitz One For those who must have read the shot well This will be very buttery. Looks very easy. They must have. But those who haven't read it You must be saying brother, what is this, what is going on? Is this happening? That could be happening. So that Read the video first, okay? Now let's go. That's done. Now I need SSL. If you want to access it, I can certify here. I'll install the manager. I installed the cert manager. What does a manager do? Issuing certificates helps me in. So the Cert Manager Created. Okay? Now as long as all the pads of Cert Manager are active Wait until it happens, brother. that tomorrow we will enter our email, application I'll put all these things in. Until then Things should work out, right? Cert Manager Take it. Ok? Cert Manager Web Created. Cert Manager Basically such a There is a tool, there is a service that gives you certification Issues a certificate. That's it. Now we We will wait until all the Cert Managers If the pads are not ready then the condition met all Are you ready? Okay? Now I need a folder. I will need in which I have to write my files. Work is not work. Train with Shubham What's inside? Project CD Projekt MK DIR EKS Argo CD CD EKS Argo CD Now What do I have to do here, let me Encrypt your Cert Manager using If you want to put Sirt Ishar then Sirt Ishar Let's use Cluster Issuer here Just a small message to you and your email ID. It's just a small thing you have to put in which in If it is important then VI Let's Incript I will create it by coming into it. I'll throw it away. There's nothing much to do about it. It is. All you have to remember is Escape wq Enter VIM Let's Encrypt. All you need to do is Just remember that the API version of this He must be the chief manager. V1 will be the type of cluster. The issuer will be Let's Encrypt Metadata Prad, this is very important, now this name This is a URL, this is basically one such server. Where you enter your email, that's a If the certificate is issued to you then this The cluster issue does the same thing. Basically, you just need to enter your email address. So I'll put my email here. Am. You guys don't post this email. Okay? Mentor@ Train with Shubham.com This is my email. I've posted it. Let's Encrypt in the private key reference Remember this product. It will help you in the future. Which one do I need to put it in? Your ingress one. I'll have to put it in the file. Okay? Put it in. Given. This is for Prod and Staging if If you want both separately then you can do that as you like. You can do it. But it's okay, never mind. I spilled the beans for both. Mentor@ Train vs Shubham.com I made this my Let's encrypt then cube ctl apply Hafan F Let's Encrypt in the Name Space What was my namespace? Sert was the manager. Yes, it was basically the same. what's the name space? oh his name space No. It's the default. Okay. No No problem. Enter. Now let's see if my cluster issuer has Told the city manager, brother, let's Enter this email into the encrypted server. He has created two more. So this Let's Encrypt product is not this hum log We'll use it in our ingress. Let's make ingress now. Come on brother. Ingres, where did you go? rgo cd ingresl This is important for you So all you have to do is see that you Making an ingress. What is this all about? You're creating all this on Argo CD. namespace argoCD ingress https You have to put annotation and here you have to put your Just write down the domain. That's it. Now Copy this and put it here Ingres dot y enter and paste this here now You have to do the thing rgo. Domin.com now I What should I do? I'll put Train with Shubham in it. Is it? Because I have to train with Shubham. domain is rgo cd train with shubham pe mera rgo server must be running. ok? argodi dot train vi shubham pe mera The server should be running. Okay? Done. Everything. Looks good. Escape colon wq Enter. Now this It will only work if I have my own DNS. In Go Daddy or whatever my DNS is Updated the load balancer URL for this cluster It will work only if it happens. Let's go to the cluster now. Let's enter the URL of the load balancer. How do you do it in this cube ctrl gate? Service in the namespace Ingress Engines Hit enter. So here you will see a load balancer. You'll find the URL for "Which is this?" My load balancer's URL. Where do I put it? Go Daddy I can manage my domain on or wherever I want. I do. So Go Daddy I'll probably remove this part. Just For security reasons. "Oh, let's keep it, friend. You're just a friend." So whatever domain I have here, on this Let's train with all these domains. Shubham Okay, come quickly brother. now here I will go to DNS, good domain And I have to go to DNS and update it. Record So I will add a record. Add a new record in train with shm.com you People buy their own domain. New record. The type will be "C Name C Name." Okay? I'll put in Argo CD and I'll put in value I will put mine which is of load balancer The URL was what I got from here, okay? I will put this and in TTL I will put custom I will put 600 seconds. OK? So let's make argocdin w shm.com I need a C name record for this. ArgosCD should have its own load in the value I will save the URL of the balancer. Let's update the DNS records. Now we'll go Daddy will sit and update. What should I do now? I will do it? I'm going to call it Argo CD, this is also here. I've put it in. What do you do now? CTL GATE Certificate but before that you Apply the ingress you created as well. So cube ctrl apply hfn F Ingress What will this do? Your Argo CD will know that I have my account on this domain. Argo CD is mapped. So argod dot Train with Shubham which we called Ingress I had put it here He'll know. Okay? Done. Now you What will you do? Yes. By getting a GATE certificate. See. OK Argo CD Server is set to true. OK This means you have received the certificate. If you If you want, you can describe it and get a certificate. You can see the details. OK Certificate Details OK the certificate has been Successfully issued. I like it rgo.Subam.com has received the certificate To drive. So let's drive. Let's drive. You can view the logs if you want. Secret from It has been created. You can see all these things. But let's go, friend. You guys together. If so, what are you afraid of? rgo cd.train w shm.com Enter Boom in the chat. Guys, you have an HTTPS Connection Secure's ArgocD Server is ready which is on EKS scalable Now let's go to the next level and login to it. Same story for login. You need to get your initial admin password. My initial password is admin. Ah, copy this. Password goes here. The username was admin and sign in with this. So here's my Argo CD running. Make it. Let me teach you how to make an app. Right now. It must have arrived, friend. The app is very easy right now. If you still don't know how to make it, then come here Go away, oh God, he must have arrived by now, friend. How many six seven how many hours have we been studying People have been reading for 6 hours, brother, till now It must have come to make an app, still Argo CD Go to the Demos repository Take a declarative approach Whatever you like, brother, whatever you like, go ahead. Give whatever you like, take it and get what you want from it. Whatever you find beautiful, go with it. Two brothers okay great deploy our online Shop on any other app from Argo CD Demos You can use Path Multicluster online shop Let's go to the multi-cluster online shop. where did you go Yes Will go to Multi Cluster Online Shop. Here it is. So this is our repository. I'll tell you anyway. I'll give it to you. So I copied this. Settings here. I went to Repositories. Connect Repo Gone via HTTP Went. The gate is gone. And entered the repository URL. Default project name in project Optional. Argo CD if desired. You can upload demos. You can connect more if you want. This is successful. I came. Go to Applications. Create an Go to the application. Name it whatever you like. Get involved brother Put whatever you like. Multi Cluster Online Shop So Multi Cluster Online Shop So Application Name Online Shop Project Name Default Sync Policy automatic Auto create namespace source in Argocd Demo Revision Main Branch Path Multi Cluster Online Shop This Is Our Path Okay, this is our path, the destination URL. In whatever our cluster URL is there No need for namespace and just create Simple, all you have to do is this What happened to it now There are invalid namespaces, including namespaces. Is it not, friend? Take I was telling you Our own namespace is default Ok The default namespace was too small Things keep happening, okay, okay, it's done. Online shop deployed and running well All your Argo CD is playing perfectly Well, if I make a nice replica here There are three, if I make it four then you will get There will be no objection. Deployment of a multi-cluster online shop I've changed it. Okay? Now, sync it. Give it to me, friend. I had auto-sync on, didn't I? Don't scene it. Sync it. So as soon as you sync it You will do that the three pods have now become four. It will be based on gates. Okay? Done. This too. That's it. What do you want to tell me now? Yes. I had to do SSO. To do SSO we How much time did people spend on an EKS course? It doesn't matter, anyone Not a scene. All this will work. Now. Let's come to SSO where we talked I stopped it. Okay? Yes. Now here's what What is our home page URL? rgo.com So here at rgo.com This is our home page URL. Okay? Now The authorization callback is rgo.com Register by doing this on API Dex Callback You apply. You have registered. Application. You currently have any users No. No one has logged in yet Yes. But we need to create a login page. Make it. What do you have to do? You've done it all. Now you will get this client ID. This brother Are there too many pages, sir? Yes. You'll get this client ID. This is the majority. Save this. Okay? Copy this. Now it's a new client ID. Generate a client secret. OK? Here Go to Generate a New Client Secret Done. Authenticator app. OK? Let's create a New app. Where did the authenticator go? Please give me my OTP, where has it gone? OTP copy paste Very Okay done, so this is my client ID and a The client has become a secret. I need to I want to use it in my cluster. Okay? Let us go Note down the Client ID and Client Secret. Let's take a note of this. So this is my client ID. Oh, brother, very Tabs are open. I'll close them all. Tab Because It's Just Creating a Lot of Oh my god! Just look at our app. It was degraded. It's 3:34, how much now? Oh! Oh my god, it's 6:30. They're deployed at 3 o'clock. What happened? Has he arrived? Yes, here he is. Argo CD tea has health is degraded to hours Ago. Awesome Awesome Stop I turned it off, turn it all off, man. Now we need to enter our client ID and that I had to paste it, okay, so this is our Client ID and this is our client's Secret, so secret has come here and this Our ID will take us to setup our To tell on the site of Dex Dex It will be installed on your ArgosD cluster. It will take some explaining. Okay? Create a GitUp Organization If You Don't Have One I have it It's called Train with Shubham. Okay, so this I will make it. OK. If you still want to make it, you can You can build it using GitHub and Create. For free. So here's a free organization. Click on it. Organization Name Argo CD Org put it just to do this demo contact Please put it in your email what happened? Organization Is Taking Argo CD Org Argocd TWS Or TWS Argo CD, yes both are same Happened how is this yes this is ok rgo cd tws OK. Now my email address is in Contacts. Let's put it in, friend. Train V शुभम@gmail.com I'm done. I'm now logged into my personal account. I'm using it for this. Okay? Now the puzzle Feed me, brother. What is this? Use the arrows to Rotate the asset to face it. Brother, yes, that's fine No? Submit. Ok. O! Hey brother Is this okay, both look the same? Submit Oh my god yes submit yes correct nice Get Up to Papa Business I Hear by Accept and do next Tws RCD is taken what is this brother argo cd tws will it have to Next TWS Argu CD Is Taken Who did Bay Add Organization Members Search? By Username Full Access Amitabh Devops We add our Amitabh Bhai Will do because he does our work. Complete setup done R Gogo CD TWS activated It's done. Okay, that's it. Next. Done Organization Visibility Public. So I've kept this public. All good. Configure Argo CD is now running the cluster. Install and run in the Argo CD namespace Both are fine, that's all. Now I need to cd github secret this needs to be created where Client ID and Client Secret You have to put both in. Remember? Here and there Both are pasted. So make this I'll have to. Let's make it. I did this and here is the VIM secret. Dottle Now let me enter the client ID here. Instantly. I have a client ID, please get it from here. This is my client ID. And this is my secret. Don't tell anyone, okay? I'm keeping this secret. I will go here and throw it down. Done escape and enter so I have a secret ban I'm done, now I have to make the next thing. That's my config map where my Public IP of the instance and my gate If the name of the organization keeps all those things then These make it Ok CM VIM Config dot Yammel OK, that's it, now the URL of Argo CD put it here https Now brother, there is no activity, rgo cd train V Shubham Dot done now client ID this from ghub The client ID will take the name of the org. argo cd tws Argo cd tws done done escape colon wq Enter Great so I added the secret and config If you put both then cube ctrl apply hfn F Secret and Config in the namespace Argo CD Enter Let's now create both our secret and config. It's gone. Okay? So that means my deck. Inside my Argo CD that OIDC Connected to GitHub Now it has a roll base Access control is also created. Where did you go? Its role would have been to make base access control Yes. Enter your email address. Okay? Let's put in the BIMR backlog. dot Why this because which email has what access? All the things I need are fine now Number of members in the organization Like what is the name of my organization? gitp's argo cd tws as many as I have called him repo admin, that is, Amitabh Bhai has the role of repo admin. Now My GH email is What does he have to do with the train vs Shubham? What is the role of a repo admin? And I give Group Shubhamnath 5@gmail.com I give the role to rippo admin by the What do they do on the repo admin role? Have access? Repo Admin Create Get Update Delete can do everything. Right? Here it is. Escape colon wq Enter Cube CTL Apply Hfn F to what? Apply R backlink to namespace rgocd Do it brother. Argo CD rollback access control Configured. Done. The only thing left now is left, that is No, we did it Secret had applied Dex Configuration done, backed up Now we are deploying Argo CD. Will restart so that login via The Git button should be visible here. Let's go. let's go let's go let's see If we are able to get our single sign on So configured and not This is my old one. Look at this now. I'm going to go now This is also old. Now let's move on to this. am Argo Was it Argo? Not the Argo CD, man, here I am. I forgot my domain name. How is this possible? Did you go with me? Yes. rgo cd. Train with Shubham was. Yes, come. Now let's open it in a new and beautiful page. Are. OK Log out I should log in via GitHub And login via GitHub is there which is Saying shout-shout single sign on in Your production cluster is ready. Let's log Let's try this with the getup. OK. Username and email address: This is my email address. Yes. Password Thumbprint. OK. Sign in More options. Authenticator app. Come on brother. Let's try this too. Argo CD by Shubham Launde wants access to your account. What to do? Grant authorize Let's go. What do you think I'm okay with? Locked in via getb drop a boom in the chat If You Found This Video Helpful. Because Like I said, there is no one on the whole of YouTube There is no video that will take you 6 7 8 hours Baitha Ke Argo CD Aisa I hope you're enjoying it. Friends, a And there is a small concept that I want to tell you. I know you guys are going to go crazy right now. Dude, this guy is not showing any signs of stopping. What is all this being taught? What is this? All? This setup also controls ingress. Gave it, got it certified, secure dashboard Access was also provided. SSO integration was also provided. I got it done. I got everything done. What should I do now? What should your brother do? Tell me something that I haven't taught you. Now There's still time. Tell me, friend. Tell me quickly. Nothing left. Install Argo CD on ES. This also happened. UI Declarative is all done. What's the matter? It's all over. Argo rolls out. Argo Workflow, Argo Events, all of that. Things It Should Be in a New Video Ideally because that Argo CD in one shot is not a part of. So basically we have Everything covered. Friends, everything is covered. It's gone. Let me tell you one more thing quickly. I'm going to tell you how to scale this Argo CD. How will you do it? Because Argo CD is out tomorrow. Let's bring in a lot of users. How do you scale this? So, to scale Again folder is a great thing for you. So it's very easy to scale. Just Have To Scale the deployment that you have. The deployment of Argo CD Scale it up. I'll show you how. So as I mentioned Argo CD is stateless. Meaning it doesn't have its own database. Redis happens, but it's okay. You just need to That Redis needs to scale. HA means High Availability. What does it mean if you fail a class? You have an available pad. All these thing. So API servers, repo servers, Application Controller, Raid Is External If you have a database, you can do that. Yes. So if you want high availability You can install the official High Availability HA Manifest. So you can. I Let me bring it a little closer. It's very Easy. You just have to apply the HA to that whoever has high availability The configurations will come to you. Those CRDs will come to you. So I can There are already a lot of things like this in Redis. Ka Joe Ha Proxy The server was not there. So the HA proxy What is a proxy server? This happens to your load balancer. It's as I told you, it's simple, you just Have to scale which is cube ctrl argo CD Scale Deployment ArgoCD Server Replicas Three, so what happens to that? The single replica that was running is now running three The replica will run and your application will be Available for many people to access So like cube ctrl get pds in the name I did the Space Argo CD. So how much did it cost? This is what it cost. I'll do it now. Argo CD Scale Deployment Argo CD Server, make three replicas of this. Now that What will it do? This is the Argocd server. This will scale it. So get pads here. You'll see more. Look at this pending This is being built right now, initializing everything right now. If it is being created then you can do this one repo If you have the same server than let's Create two replicas like the repo server now Oh because of H A he made it okay, all Things have already happened, there is no such topic. which is It would be nice if you could see it, You can verify the scaling. What did you understand from this? Best of GitPos I will tell you about practice practices. Yes. First of all, whenever you deploy RboCD Domain based karenge EKS cluster pe karenge So that you can work at scale. Then Your login system will be it should Via SSO. Okay? Or Gmail or Whatever its button TLS Everywhere means Must have https secret management.role Based access control should be with Least privilege. Your logs are all monitored. Your scaling practices Having your Git as a single source of truth Monitoring alerting is available to you. Keep disaster recovery backups. For backups I used shell scripting I taught you how to take backups. I have taught you a lot of things. Hope you enjoyed this video. Now Let's move on to our project and project I will need it to go to the Where did my Cubanate go? Either Cubanate Is To Production In One Shot The concepts I taught in You can also use an EKS cluster via Terraform. How do you make it? Argo CD helps with that. I do whatever you ask me to do. Let's start. We give our cutest production Applications. Let's understand this first. What is the project? Where did it come from? project? looks so beautiful The Most Public Secret Shop. And this project continues. It's there too. Let me show you. So you can explore. If you do this, you will see this entire catalog. If you want to buy a car, please add To check it out. Great here on the cart I got added. It's quite expensive, but never mind. No. You start it. Okay? So Location delivery and complete leke you continue Your product as soon as you continue and purchase The purchase will be made. The order ID will be displayed. How are things going, friends? Things are happening. An AWS Containers that are available on the official repository They are such great projects. They keep adding in. One of those retail stores The sample app is a project that can be downloaded from your dvs The brother has done a great fork and It is good to add more chilli and spices to it. It's ready for the replay. So let's go! I will show you in this project. What is going to happen together. Complete Let me give you an overview of the project. The UI in the project is one you saw this UI in its background, these orders These are our orders, these are our orders. A particular language remains in. In which language is it made? Brother? I've explained it all to you here. Yes. The orders are written in Java in. So here you have Java, that's connected. It's from Postgres. The service you checked out It is connected to Redis. The service is connected to DynamoDB. The service with the catalog is connected my from the sequel. So this whole multi-tier This is a microservices application. Why Microservices? Monolith Why didn't you apply? Because Cubanate is in one shot if you have seen it In that I had told the difference that brother What is the benefit of microservice? The service that will take your orders tomorrow If there is some problem in it then other services Your UI must run. Everything will continue to work for you. You get a complete repository of everything I won't need to update it. Micro This would have been the biggest advantage of services and Kubernetes is a tool for microservices. It is considered best for if you have a micro Services need to scale. Let's look at these five. You understand microservice architecture. I came to know that this is ours which I just opened on the page All these are our services shown in it. And in its back end it has its databases. This is its caching. DynamoDB does all these things. There are things. Let's go one by one. Introduction to the product project I hope you found that a cool It's a project. It's a good project. This is an e-commerce project. You can do your best. Can be put on review. Multiple services It's great fun to drive this thing. You have seen the benefits of microservices. that is scalable across cubacies. You will need the full A monolith of a large repository You will not have to maintain it. You can decompile it into small services. You can also do it. Decouple means this whole big C is a microservice. Its cover is separate. Do it. It's a D-couple. Now there's no If something goes wrong, you fix it. So it's already running. So this is the math. It happens brother, microservices and monolith Architecture. So that's it. Now let's understand. Bhaiya, you have put cubes into production. Why Use Amazon EKS Auto Mode in iOS? What's in auto mode? And this What is Auto Mode? What is EKS? What is Amazon? What is AWS? It I'll tell you everything. First of all, this whole To do the project you will need a You'll need to create an account on AWS. Good news. I made a previous video. I also told you that the new accounts If you create a new account on AWS So you will get some initial credits which $100 in credits. Yes, and you If you follow these steps, you will get up to $200 in credit. You can meet. So you can enjoy this project. You can run it on AWS. So if it's Compare production cubitis to EKS Let me make it a little bigger. Zoom in I give you EKS Elastic Cubantis Service provided by Amazon There is a production ready Cubitis service. where you can create your own clusters and The control plane part is Amazon He looks at it. Brother, I did not understand anything. It would be fun if you could explain it through a diagram. So in the last video, Qobuz and and and and and and and and and And there is one shot, we saw it in that that if you want to create a qbis cluster So you can make Kind Pay. You Mini You can make it on Cube. You can make it on Cube ADM. You can make it. How is all this appropriate for the locals? Yes. But if you want to go into production, You have to use cloud services Hey guys. So Joe Cubis from Amazon. You can make clusters production ready That's EKS. Now let's first understand EKS. What happens? Then we'll switch to Auto mode. OK. So if we talk about EKS, it's simple Cubinate is cluster so if you have cluster How is it formed? Components of a cluster If you know what they are, I'll simply revise it. This is very There is an important thing which is called Control plane. So the control plane is your entire cube. Controls the cluster. APIs to it Server Scheduler Your Controller Manager Everything resides in it. Now whatever other The thing is they are your worker nuds. Correct? These are your worker nodes. Now What does EKS do? What does EKS say? Your control plane is Amazon. will manage. Amazon will manage. You Only and only on these worker notes which There are applications, right? You deploy the applications, you You'll manage. Okay? So this is what you do. EKS. So the heavy lifting that happens The control plane is managed by Amazon. You just need to apply But to run these applications What do you need? I'll tell you. I mean, what all is needed. First of all You need compute, meaning your EC2 Instances then require storage Meaning your EBS volumes would need to be reinstalled Is the network mean what your CNI container is Network interface drivers then VPC It contains IPV4 addresses and IPV6 addresses. You need everything. If you If you want to provide outside traffic then load balancers They are also needed. For example, ALB, this What do you call this whole thing? There is this thing called the data plane. What do you say? Data plane. Now this, this Wali heavy lifting hai na with EKS this You also have to manage EC2 Then Manage EBS Manage VPC Manage ALB, you also have to do all this. Amazon tells you what auto mode does. Bhaiya, I will manage the control plane. I will do it and I will also give you EC toons. I will also manage your storage. I will do it and will also manage your network. I'll even manage your load balancer. If you talk about security, then security We'll manage that too. How? That's what we use. There will be images that will be used in the machine. AMI (Amazon Machine Image) It will be immutable. What will that do? There will be no security risks either. All the nerves will return after 21 days. Keep reloading, keep shifting and Will keep updating. All this heavy lifting. Data will be in the plane via Amazon Eks Auto mode and it uses it in the background Carpenter. Carpenter for scaling you Let's use your lot load has arrived. So automatically your jo nads Are there EC2 instances that can scale? If the load is too low, it scales down. It happens. And the cluster is so easy. Make it. Let me show you. Super Simply click on Create a Cluster. Quick Configuration with EKS AutoMod Tax Your cluster name will automatically appear. Give it a name. TWS EKS Cluster. Then the Cubinities version by the latest one Take it. 1.33 is now your IAM role. For security, you can create recommended If you click on the role then Joj will be able to see the roles. He should make it himself and here he The field will be filled in. You can select any field for the node. I'm roll whatever you need whatever you need It is recommended, click on it yourself. These will be created. You need your own VPC. Create it. You have to use the default. Do it. The subnets will appear automatically. Click OnCreate. That's it. That's all you had to do, brother. How to create an Amazon EKS cluster Auto mode enabled. Now take advantage of Auto mode What will happen? Whenever this cluster is formed, it It takes less than 10 minutes to make It is the fastest. Meaning if you are production ready Talking about clusters, it is less than 10 minutes. And you know what the best part is? When you go to its computer, first how I had to manage my nodes myself, right? that add this node add EC2 forget add Do it, it's not like that, there's a background in it I am using Carpenter which is EC2 Auto-scale instances to 10 Wait a minute, this cluster will appear within 10 minutes. It will be ready nicely, I hope you understand it nicely. I must have come to know what is EKS and What is the Auto mode of EKS? Let's say that our brother Infrastructure is what we have today. The infrastructure to be built in the project What is it and which one should we get? What tools will you need? First, you Creating an EKS cluster on AWS. Then you will need the AWS CLI. What is a command line interface? Let me show you. You can also use any of your terminals. Open it. So here you have your terminal. It's gone. Oh, not clear, it's clear. Okay. So All you have to do here is AWS configure Bus. So this is the access ID that is coming, Secret Access Key is coming, default region Name is coming, default output is coming. All these options that are coming to you, this This is coming because you have AWS You must have the CLI installed. Friends, this Installation of whatever the project requires I put everything in Read Me Meaning if you want to make this project locally What do you need to do to drive? What do you need first? CLI Terraform Kube CTL Docker Help How will you take it? I've explained that in detail. It has been pointed out here that AWS CLI If you want to download it, run this command. Download Terraform on Linux If you want to do it, do it. You have to do it in Windows. So here you go. Cube CTL on Mac OS Yes. You have to do it in Linux. Do it as you want. There you go. You need Docker. You need Helm. Everyone. Installation steps can be found in this Read Me. I'll go. I've put everything in the description. I have given it to you. So this is yours. It is a prerequisite that you verify You have to have all these things Installed or not. Now AWS How will we connect on CLI brother? Bhaiya, how are you? So first of all what do you There's nothing much to do, no hard work You have to go to Amazon or AWS. You have to search for IAM on the console and You will click here and it will be great on IAM. I'm here now go to users And create a new user, create this user Name it TWS CLI user. Now he has access to the console. No need because we work on CLI If you are doing this, click on Next. Great. Now here's the attached policies. Do it directly. Whatever you need access to For example, you need access to EKS. Full cluster admin access if needed Select that. Let's give you the full You need full administrator access. Here you can select Mast Admin. You will get full access to the entire website. After doing this, click Next. Diya next. So this is your user who Have administrator access and create user Click on it. Done, click. Now you go. Click on your TWS CLI user. Now go to Security Credentials. Go to security credentials. Now here You have to generate access keys. Click on Create Access Key. And I Open your access key for the command line interface I'm making it. And after doing this, you'll get a I will have to give confirmation, let me do it brother. We have access to Next. That's it. Create Access Key. Your Access Key and Secret You now have two access keys. Copy Do this. Copied it and put it here. Go to the terminal and run a command. AWS Configure You can only do this if you have AWS CLI version two is installed. Copied the access ID from here Enter and Secret Access Key Here Copied it from there and posted it here. You just saw my secret access. Lee. Yes. What's going to happen now? It doesn't matter. By the time the video arrives, I will have deleted it. Enter the default region name. The tutorial I'm going to do is US West Two in Oregon. Sounds great. me. So US West Even if you don't do this, it will still be fine. There's no scene. Just a secret access key. Access ID: Both of these are very important. Enter Default Output Us Nothing Enter is done. Now you have to simply Try running the command. AWS S3 LS thats It. What will happen with this? It will reveal It will be possible to have as many S3 servers as AWS has. buckets are what you can see What? So I can see it. I mean Our local has been connected to AWS. Well, we have done the first prerequisite. Across. Oh, it's gone too far. Let it go a little. Let's bring it over. Yeah, that's fine now. So, What have we done? AWS CLI We're done. Okay? So do this. Tick. Now Terraform. What is Terraform? That You Terraform in One Short Video You will understand that Terraform is a Infrastructure as Code is a tool that allows you to The entire infrastructure will help via code to automate It helps a lot. There are no errors. So you need Terraform installed. So let's install Terfm. Do I have it? Terraform Halfon version I have terraform version 1.57 Terraform version is out of date with the latest Version is 12 hain lo chalo br Update Terraform Done low blue upgrade terraform ok bro We will do as you say, what should we do? OK, is Terraform already installed? Bol Raha Hai The Latest Version You Can Upgrade by downloading it from OK There is no scene, this one will work too. No problem, come back Let's say you have Terraform installed, okay? There is Terraform, there is also KubeCT. This is KubeC Why is it important for you Talking with a cluster of Cubinitis So let's try it out Cube CTl version Client version 1.33.2 so Cube CL also We have it installed. If you have If not, it's written in Read Me. Let's go. And we have Cube Seal as well. Helm Let's also take a look at the Helm version. Helm not found. Let's install helm Let's take it. How do you do it quickly? Here Go and look here it is written Helm If so, just copy it. I copied this line and went here. Boom so I have the helm now The Helm file is downloaded. by doing a little CHMOD 700 If you make it executable then ls huffn I have to look at the gate helm, I have permission Yes, read, write, execute permission I have given it because of 700. Other users has no permission. If you learn this So how did you do it, see Linux in One Shot There you go. I hope you liked all my oneshot videos. I've seen it. Tell me quickly in the comments. where are people watching videos from because It has millions of views. I don't know you. Where are you from, people? I'm from Pune. Right now I I live in Bor because of my new job. Okay. Let's take a look now. Get Helm Where did he go? Get Hell.sa Install it. So I copied it here. We went and slammed it here, get hell, okay. Downloading Helm. What's the matter? Please provide your password. Two. So you all know our password. Test @123 Just kidding. Okay. Helm done Install. So Hell Half Version OK, don't hyphenate. Just write the version. Yes, brother. Why do you do this? So, isn't it? It has been installed. So whatever It was a prerequisite, brother, we did it. Installed. OK? Tick this too. Initialize Terraform End Review infrastructure code structure. Meaning our project structure is We need to review that. Important The part is here. So, from Terraform What do you want to make? Let us review it. So we have to create it using Terraform. This. What is this? It's inside the cloud. Everything is there. This is your VPC. Virtual Private Cloud. What is it? is our EKS Elastic Cubinity Service and in this we People will enable auto mode so that this Our cluster should be formed from the pat and this Terraform will also install ArgocD Helm inside our EKS cluster as well will install our EKS cluster What is it inside? Ingress of Engineering controller so that outside traffic Traffic inside, traffic outside, all this one If it can be connected, this ingress controller will also The rest of the retail stores will be as good as the app. Manifest files are like files that are used to create pids. Yes, deployment has to be created, service has to be created Yes, Ingress has to be made. All these things via Help charts will be taught to you. I haven't seen Cubism One Shot. Is this all true? Will I understand things? You understand But you'll feel like, man, I wish I He would have seen it first, now look at this. Quickly watch that video first. Okay? Let's go. That's done. Now all these things need to be made. From Terraform. Let's create it. So first First, I'll go to my repository. Because everything is in our repository. And I'll move this to the main branch. Code I'm going to take it and go here and clone it. Sam, you can do that too. Okay? Now I I will open my ID here. Where is my brother? Will it open? Now. So let's open the key. Here it is. Our Kiro. Come brother. Don't be shy. Come So that's a cool agentic AI with ID. which you can install easily and You can run it using your builder ID. What is a Builder ID? My Previous Have you seen the videos? No problem. Link You can find it in the description. Create ID and sign in with builder Just click on the ID. It's very easy. So AWS has a Builder Yes. Builder Center. Where did Mast go? Community. AWS Now go to Mast Community and click there You will find a builder center. Sign there. Upload and your ID will be generated. You can now generate your Builder ID. You can. Let's say if you already have it. Because you watched my previous videos. So you already have a builder ID. Click here. Your email address is mine. Is it train w shm@gmail.com Let's zoom in on this a little bit because you I'll be interested, right? I'll click next. I'll enter the password here and you'll see. Will you take it? The password is long. I won't tell you. I. OK? I'm signed in. Now it's The verification code will come to my phone instantly. Pay. I'm here. Here's my code: 2113 2 1 3 323 Do not share your OTP with anyone Release it in the public interest. Okay? The redirect will continue to happen. And this What will happen? I can access my key. I will get it via Amazon q developer. Mast Mera Kiro access is complete. Now I'm here. What am I going to do? Look carefully. I'm going to open all my files. If you want zoom, I can do zoom fun. I'll give it to him. No scene. Now here. I'll open a terminal. New Terminal. That opens Terminal. Now I'm here. What will I pay for? CD documents are one Get into the folder nicely. Work Train With Shubham Projects Done. Now here are my projects. Who What are the deployment strategies? The Cube is a starter. So here's a new one. Let's create the project. Who is MKDir? Sa?Retail Enter the store. OK? I'm in a retail store. He's gone. What am I supposed to do now? I don't know my Git repository. You have to clone it here. So, this is The command is, just copy it and put it here. Let us go and clone the gate. If I slammed it, my repository is retail. Store sample app will be cloned I will clone you, phat phat, I am now a clone. I'll go inside this retail store sample app As soon as I went inside, whatever files I have it on my ID, Hero is cool You will see me here on the side, I did not see anyone No problem, I will open the folder and bring it there. If there is no scene then the documents will go I was in the train, I was in the projects was in the retail retail store and it's My retail store. OK Once done, you can also do vibe coding in it. You can. You can do all of this. But it's okay. We'll go here now. This is our Application. Nice and beautiful application has arrived. We have it. Done. You should use this application very carefully. You have to understand. This is very simple. One The folder is Argocd. There is a folder Documents. Then there's your source files. You don't have to write it. The developer writes it. That. Then there's Terraform and the rest of the branching. Strategies Read Me Get Ignored This is it. Let's start with Terraform. Okay? You will find all these files on Terraform. Addonsf Argo CD Locals Main Output Read Me Security Variables Version You'll get all these things. What do you have to do? Is it? Start with Read Me. Okay? Read Start with Mi. If you want, Redmi. You can also open it in a preview mode. Open preview and you will be delighted. It will look beautiful. Right? That its What is the file structure like? All these files Which file does what? I've written it all out. If you need to run it If so, what kind of commands are there? I have written down everything you need to do. You can read it. Lena. I'm going to teach you. First, let's go to maintf. You have two big architectures. Infrastructure VPC And your EKS cluster creation. Both We use prebuilt modules for this You will create a block called module. You can. For more details watch Terra in One shot so you understand that What are modules and how are they made? Okay? So there are two things to this. Your The EKS cluster and your VPC are small. Let me explain it to you. Brother, this Whatever you have, it doesn't look good to me. It's all white. You You know what you can do? Go here. Search for extensions and Terraf And this is Hasik and Teraf, isn't it, 574 Abhishek Veer Malla recently turned 500. Bhai ke to big shout out to Abhishek Veer Malla Bhai for Reaching 500 K Subscribers on YouTube are a big deal Friend. So keep showing love like this. This victory A win for our entire devops community So here we go, folks. Terraform! Click Done and if you want to install Terraform Now you will open the files, yes they are colourful Watch now talk about module VPC If you need to create a VPC, Create a VPC here. This is VPC, what is it, a private There is a cloud inside which all your Resources will be there, they will talk to you. with all security. So if you have a If you create VPC then this Name Cider Range Tenancy Availability Zone Cider subnets have to provide all of this. You're writing in code. Source Terraform AWS Module VPC This One Line All the files your VPC contains Security Availability Zone gives you all that No need to pay attention, it works You will go. Just put in the version, you will get all this. Where from? Just search on Google. AWS Registry Terra Form VPC and that's all you have to do. Terraform on AWS VPC Module Click it. And that's it. I've coded this I took it from here. You just need to use it. I copied this and that and then went and threw it here. That's all I've done. Okay? That It's so easy. Okay? In the name you've entered the variable Created a VPC with cluster name. Where did the variable clusterName come from? So here I have created a variable tf where Pay Cluster Name Default Value Retail Store Environment Dev You can also put production You can. Your version of Cubinities Take what you want. VPCT Take whatever cider block of VPC you want. What would be the namespace of Argo CD? You can configure all the variables here. You can and use it in main.f. Done. Availability Zones, Public subnets, NAT gateways that connect to the outside network Address translation helps you improve your public and I set that to true for private subnets. Internet gateway So, all these I've made things here. And this By doing this your VPC module will be created. This is how I setup an EKS cluster. I have also provided the configuration here. Again you will get its cool code on Google. Source Terraform AWS Module EKS AWS version picked the latest version I.e. cluster name cluster name cluster Cluster K Public access to endpoints Do you want to pay? Yes. Private endpoint Grant access. Yes. Creator Admin Permission is very important so that If I can create, I have to give it to you. Now I told you about EKS auto mode, right? Compute nodes that scale automatically The network automatically gives it. The load balancer does this automatically. The configuration appears to be this: cluster computeconfig enable true. That's it. You will do EKS Auto Mode of your cluster Wow, and in that Enter the VPC ID and create a key so that Encryption is also required. If the cluster login If you want to keep it enabled then make it true. If you don't want to keep it, it's okay. It's done. That's it. That was it. And if I I'll go to Terraform here cd terraform I'll go and write it here, Terraform In it, that it is me, as much as my Modules are as many as my back end has. All the pat pat pat starts downloading This means that in the background What's going on? This is the entire code, this Here is the complete code, it is from the internet. It is downloading in my local. And all set, how perfect. Now it's a little late. It will be done in a moment. It won't take much time. I think I'll zoom in on this a little bit more. I take it. Yes. So, it's got it all. All the things I had No Hell, Argo, CD, everything through this. So, my Terraform installation What's wrong with the command? Terraform Initialized in the folder. So here But my Terraform is done initializing. That's it. What do I need now? My Looking very carefully at the architecture. What should I consider in my architecture? I want it in my architecture. EKS Cluster, VPC, ArgosCD Hale and Ingeninix's ingress controller. Until my VPC is created, my EKS cluster will not be created. until my EKS cluster is created My Argo CD won't be made until then. Argo CD will not be created inside applications How will they be deployed? So one by one. We'll proceed step by step. Okay then. Step wise if you need to install anything Like this is my Terraform folder If we close this then it is argo CD.tf In which I have written the configuration of rgo Everything. Everything on the Argo CD It's written. Okay? If I do it here What will happen if you apply Terraform? Do you know this? This Argo CD Main VPC EKS will all be created and connected to each other It won't be possible. Why? Because dependent So what am I going to do? I'm going to start with I will create a VPC. How? Using Target. Target equal to module which is my module Bhaiya, make that VPC and enter, what's the point of it? I will have to create my VPC first. ok then terraform apply target Module Target Equ Module Vpc Now These Do you know what will be in all these files? will find where our VPC is located VPC is in and what is needed in it So if you need all these things then only that much It's going to work. It'll just take a little time. This is because the VPC has to be completed. Availability Zones If you take all these then the total How many resources will you create in the VPC? 24 I'll make things. Okay? If you do, yes. Friends, VPC will start getting created. OK? Are you watching? Module VPC is Creating. Fine. As long as the VPC is created. Let me tell you that this Terraform I've done this completely automated. How is ArboCD running in Terraform? I'll tell you as well. So you should go first. It is in versions. In this, your provider That would be a wonderful thing, brother. Hey guys. If you've used AWS, If you have used the provider then you can use AWS Related components of its resources Cool, do it in a pinch through modules You can install it. So what did I do? I also took Helm's provider. Also took the provider of cubiness. Time random string I used for everything I have taken the provider. And I must pay that. I am telling you that brother, whoever helps me The provider is on my EKS cluster. You should go. Get all the certificates you need. Take it. Take all the commands you want to run. My help should run on EKS cluster. Cubitis is my end of the cluster Point whatever token is configure everything So I configured everything in versions. I've already done it. I've given you the variables TF I had explained it. You can explain it to yourself. You can adjust accordingly. Security is very important. You If you talk about production then your load Which route should be in the balancer? What should be HTTPS traffic? You mention all the things here. OK? So I've tried as many Nad Ports as I can. For addresses there are 3000 to 32767 Whatever this is, I have put it all here. What will this do? Security Groups I need some security from myself. There will be no need to edit the group. It's automatic. Right? If the outputs Show me some output like cluster What is the name? What is the cluster suffix? Meaning what is written at the end of the cluster What is the endpoint? What is the version? and What is VPC ID? I have learned all these things. Your VPC is created. It must have been. Look, the VPC has been created. In the output you can see which VPC Cider block and the VPC ID it became So try copying this VPC ID. that is actually created in your account Whether it is made or not, because you can't tell. Brother, what's going on, how is it? So Your VPC ID search in US West 2 Do it brother, if you don't get it, it doesn't matter, go somewhere else It must have been made, yes these are two, click on this Two, here's the retail store VPC, and here's your VPC ID paste 090 has been created OK one The bar has become a VPC, what can you do now? If you can also create a cluster then I would use Terraform Apply Target is equal to module dot now my module was in main What was the name? VPC's name has become The name was Retail App EKS, so by copying it Go here and put it on the module dot retail app EKS My Enter That's all I have to do and my EKS The cluster will obviously form after 10 minutes which We created it manually, please check it once. If you take EKS Remember that one called TWS EKS Cluster We had created a manual cluster. It's active. Click on it. What to do now? Got it? Minimize it. Now you can access it. Go ahead. So I have great root access. Another one. Hit the access key. Because my What was the user's name? TWS CLI User. Brother, please give access to that user too. And this access next. I need access. Which one? EKS Admin Brother, make me the admin of EKS admin. I have given cluster access and I have reviewed it. Two complete and create so which cluster is this? This is the first TWS we made. EKS cluster this is that cool brother this How to access it? I have also given the command here. I have just put it in, you don't have to do much There is a small command, just copy it. Paste it and you will be able to access it. I'll tell you. Oh, it's very simple. Here it is. AWS Hey, where did you go? AWS EKS Update kube config just copy this and Go to any of your favorite command lines Just drop it. Whatever your cluster name is. Yes, that is very important. So my The cluster was named TWS EKS Cluster which was the region In what? In the US West Two. Done. Added cube context done. cube CTL GATE Notes. Why? Cannot list resource nodes in API Group cluster scope. Why? Because this The user does not have this particular access. Whenever you face such access issue by the way Our AWS EKS cluster is built How many of it was through Terraform? If there are 40 resources to be added, then say yes. Give it to me. This will continue to be our ad. No issues with it. It is not that I have security policy in it. Everything has been put in. If you want to fix this, then If the poor guy doesn't have access to the user How do you do it? It's simple. I'll tell you. Press q. What's that q? Amazon q is a developer. Absolutely awesome. Now its What are the benefits? You can put this in context. Give that brother I created N EKS Cluster TWS EKS Cluster In US East Sorry West to end my user Is not able to list Nads just you Amazon I told Q that brother, this is not my user. He is able to describe the cluster himself Your cluster is active and running. That will list the node groups and will add a policy. Update cube config enter Don. And with is a simple thing. What will he do? Now look, he got an error that cant see this that. Now he will see the current access because my I only have access to the cluster. AWS Pay-Only Access I gave him access to the cluster. Nads are auto managed by EKS Auto Mode. Now that NUDs have access He will give it to me. OK? I haven't received my GATE notes yet. It's okay. I tried it again. Okay, that's when until it fixes this thing I will keep running it iteratively. And That Is Where Our Industry Is Heading Friends, look, it has come and gone, excellent. Permissions have been applied successfully The cluster now has access to everything quit this Oye Now if I do cube ctl get nodes boom my node near me Ready. Cube CTL Get Namespace My I have my namespaces ready. Okay? Interesting I understood that our industry is not AI is heading towards. So you can To increase productivity, AI Use it, guys. Okay? Got it. That our TWS EKS cluster is what you You can also connect locally. So now I'll delete this. Why? Because the money goes away. Okay? You understand clusters, right? How to make, how to connect, How to troubleshoot, everything. Right now There is a cluster of retail stores, that is us making it through. And it will take. It It will take around 10 minutes. Till this is taking time I know this one This is a short video. So you will enjoy it with us. A whole day of great DevOps learning, GitOps You will get it. Enjoy it. I asked you where you joined from. If you are, please tell me that too. Which video from the playlist If you have seen it, tell me that too. Like The one that got the maximum votes is Linux. Cubitis Then Docker then Jenkins then GitUp. Well, everyone got votes. Resume You guys haven't seen the building. It's like this. Why do you do this, man? Okay, okay. I understand. It's gone, right? Oh, back to our agenda. Let's see how much we have lost. Okay? So we've initialized Terraform has been given. Reviewed. The structure of the infrastructure code is Completed. Deploy Core Infrastructure VPC with Proper Networking and EKS cluster. We have deployed it. EKS It takes around 10 minutes for the cluster to be created. Are. EKS cluster takes around 10 minutes to become... okay? Figure Cube Certification Access to the Newly Created cluster. I entered that command, do you remember? Thi a WS EKS Update Kube Config Just name your new cluster that will be created. Put it here and your kube config will be updated. It'll be done, it's very easy. Okay? We'll do it too. Okay? Let's go until then. I will tell you that if you have all these How much effort would it take to write it myself? I'll tell you. You have to go, boy. Shubham 153 ok this is my gateway where You will find all the projects here. Go there and search for Terraform Terraform is ok Terraform for Devops Search Mast now here if you find one If I had to create a simple EC2 instance Look at how much hard work it takes and what data it has. Key Pair Security Group Egress Ingress All things instance so many things You can use better modules than writing Yes. So that's what I'm trying to achieve through this project. I'm trying to tell you that if you You don't have to go into production. Production takes place only after taking a lot of code. Less code, reusable code, even for production Deployments can happen. So if someone He is telling you that brother it is of 500 lines. So let's create a Terraform. No need. You can do the same job with fewer lines. You can. Okay? Let's just talk. Let's take what else into our code Things are in. How is it all working out? Our Terraform will be created from Terraform How will the EKS cluster be created? Will you come? Let's take a look. I Let me show you. Look at this. So What did Terraform just do? First VPC Then I created an EKS cluster. EKS Cluster so we have full faith in you I hope you'll make it. You'll make it easily. We trust you. This inner person These are the applications of Argo CD. Joe Helm is the engineer ingress How will all this happen? Tell us. Brother, I'll tell you. Look at this. Your entire project structure is this You have to look very carefully. Shut out distractions. This is what There is a project structure, in this you will most The SRC folder is important. Go to the folder. What will you find here? Here you will find all the micro services. Like UI, which is UI micro The service is written in Java and Spring boot nice html css all It is combined but to run it, The Docker file is written here, so Maven Through which this build happens, all this is written completely. It has happened brother, we also have to learn all this from Docker. Take a look at these one shot. Okay, so here's the Docker file. If you want to run it locally then It can also be run through Docker Compose. Yes. Okay? Now the important part That's it brother, this is my retail store How will all this be done after the applications? So this will be helped through charts. Charts.Help What are charts? Help charts will help you understand the entire terrain. Not writing the manifesto of Cubanities You just need to dot the values in the charts. yml just insert your values in it The definition of what is paid is what is paid That's already an email template. Everything is included in the template. For example, if If you want to see deployment then deployment The template always remains the same. The entire template is the same. No problem. The changes that happen are within that template. There are values. So you have to focus on values. All the values will have to be changed. For example Right now I am using the public image. I'm not going to build right now. First time. So I'll use a public image. This is its tag. Simple, complete, whatever it is. I have to give the address here only. which resource limits, auto scaling Whatever you want to enter will be in the values. similarly UI is done. Similarly, orders that There is a micro service and there is a chart inside it also. It also has values. It has images. So I completed all this in the SRC folder. I have made you sit. So you don't have to worry. I don't need to, brother, where will I find it? My cubanitos' manifest files. Because everything is happening through Helm. I'll tell you again if you want. Helm What does he do? Hale says, "Brother, separately." Pad separately, deployment separately, service separately Do not make ingress from. I'll make you a template. Give me values. I will instill those values in you. I'll put it in the template. This does the trick. And what have I changed those values to? I have given those values here in different micro Enter the values in the chart in the service I have given it. So if you want to change the image then Change this line. Change the image. It will go. But brother, this SRC, this What's the name? The values that Helm has, Help charts, these are up to my cluster How will they arrive? They will arrive on Argo CD. from. CD stands for Continuous Delivery. So I have also prepared the complete document of Argo CD. You will find a copy of the Argo CD. You will have to create the project. You don't have to. I have already written retail. Store project which is in source repo like this The repository will pick it up. You can add your name to it. You can write. Fork the repository and This will be your repository. Okay? Now What will be the applications in this? UI application, brother, this ArgocD How to pick it up in the help charts Where to find the location, then SRC in the path The values written in dotted lines in the UI chart It will pick it up and deploy it. I found that Argo CD is available on this repository He will go to this branch. This folder on the branch is SRC UI Go to the chart and see the values written in it. He will use the values and deploy it. That's it. I won't do it. So What will it do when it starts? I'll tell you. I give it to you on this particular repository Meri Retail Store App pe Phir SRC I will go into Go to UI Go to Charts Go to Charts It will go into the values and the image. The value of the repository is written to it Deploy will send its templates to you If you want to see the templates, they are here. This is what HPA has to be done, this is what ingress has to be done If so, the template remains the same for everyone. It's fun, have fun, what's up? Look, have fun Whatever happens, because this If you want to add this repository to the project You just clone and just images You change it here and there. You can change it at any time. Deploy the application from this repository You can. This is a plug and play Repository. Okay? I got it. Brother, will all this happen then, sir? Will you write it down? What? No. Everything Is in production Automated. So if you go back to the code Go to Terraform Go to Argo CD then Here it is written that the whole thing is Argo How will CD apply QBC? What is the path module in the ArgocD namespace? Argocd Slush Projects Meaning This Path Argosy in Project project created in this path Argocd Slash Applications The applications were created. Boom, everything I did I've put it right here. I've put everything right here. So once you've run Terraform Apply Done, your application will be up Guys. That's the beauty. OK. So our EKS cluster is now created. What's up. It's called a retail store. 71H9। Go to AWS and look at the console. by refreshing So our old one got deleted which We created it manually and the ones that were created automatically It was created using Terraform and is up Retail Store 71H9 It's done. Now I have to manually I had to add access, not that. This will have to be done because all this is done through the CLI. Who added the user? I don't have to do anything manually in Terraform. I didn't have to do it. The cluster that was created before this I had to do a lot of things manually in it. It wasn't me who did it, but the AI did it manually. I don't have to do anything. Everything is mine. It's automatically configured. So if I Let me run this simple C command AWS EKS update kube config region US West to name retail store so what my Will the cluster connect? Tell me in chat if my cluster is connected will go to ?cube ctrl gate nodes. Oh by the way, the notes won't be the first time. Why? Because there's an empty cluster. Some of it I haven't put anything in. So no Nads. That's auto mode for you guys. Auto mode What happened because of this? So far I have not seen this No one was deployed on it. That's why Nads is the only No. So what do I do now? Cube CTL Create NS Demo from Lets Ingeninix is a demo engineix name Let's create a space and see. Cube CTL Run Ingenix Look at the autocomplete, it's all coming up. Why is auto-completing? Because I've used Amazon Q. I have installed all these developers. This image injects me into the namespace Demo Ingenix Enter Now this pad is created. So, the cube CL I GATE Notes If I do then my You'll have a note ready. Just a little bit. It will take time because cube ctrl gate pots In the name space demo Ingenix a little bit It will take time. It will take time. It will take some time. Sa. Let's see how much time it will take. Pending is coming. Okay? You're one more thing. You can watch Cube CTL Gate Pads Low Watch is not the same Tell me, install watch, see what a watch is. There is a small command which you have to No need to run a command repeatedly It will have to be done as a complete process. It keeps showing on the screen, okay, so let's go. Watch Cube Citadel Gate Pots If you start running then you have come to running. Cube CTL Gate Your node has also been created in NS It will be. What's up? 45 seconds ago. Nad has been created. This means that as long as I I will not deploy anything until my Ns You won't be ready, friends. Auto mode for you. OK? The traffic picked up yesterday. Nad's too. will increase. And it has so much strength Security is there. Every 14 days, every 21 days These nodes keep refreshing for security For the purpose. And in this which OS MI Amazon machine image use hota hai na woh It is immutable, so it is the best in security. Nach if you want to read more about it If so, search Amazon EKS Auto Mode like this And this mast will give you its complete information. Documentation is available. What are they? What is efficiency? You will get everything related to security here. Crazy stuff, brother. Okay? It's done. Now. My Cubis cluster is created. What do I have to do? I just need to move on to the next step. I have to go. Which is it, it's done. It's done. I want to go to this one. So I mean What's left? Configure Cube Ctil Access to the newly created cluster Gone. Done. Deploy the Platform Ingress controller from services.ng Certificate Manager and RGOCD Platform services are what you call yourself How to deploy it. Simple terraform apply I won't target this time. Why? Because now if I apply the entire If I do it, then whatever is already created will be refreshed. Not as many as created Yes, they will be created. This is the best part of Terraform. That I just met you face by face, first Up the VPC then up the EKS cluster Now what I will do is to upgrade to RGOCD and ingress controller and my helm whatever thing I will do all that I know it's been an hour since our project was seen I am not coming because it is architecture if so you get the framework If you go, you can run any number of projects. Yes, friends, this is a plug and play system. Look what will be built now? A load balancer will be created. It will be created automatically. It goes. Why? Because we are ingres You are using a controller. It will be created. Okay? Let's go. So how many things do you need to make in total? 16 things to be built. And nothing else to be destroyed. They won't. They will change. Why change? Because your EKS cluster It's empty now. Argo CD will go into it. Node Key values will change. All these things There will be changes. Okay, let's go. Ganpati Bappa Morya. Yes. What does this mean? All my addons What does addons mean? What extra do I get in the cluster? I need it if my cluster I need a certificate that my application SSL Use a certificate. If you use https, that's it. I set it to true. The add-on is complete. I need Ingress Engineering. I have Set to true. Add-on done. Load Balancer I need it. I added it. And What can you do? If you Monitoring also needs to be added. This is a task. For you. If you also want to add monitoring Yes. You just have to uncomment it. Full stack of Prometheus and Grafana Your cluster will be enabled. Chat because no one else is getting it done. You are not taken to this depth. I told you that you are told that brother This is Jenkins. This is EC2. Deploy here. Do it. And it's none other than your brother. So this is me going up one level Up so that you people who are already on our channel They are viewers of slightly advanced things. So, this is my complete recipe. Idea. Okay, so this thing will continue. Until then Let's have a little chat, friend. Okay? Let's chat. How are you doing? Is it? I hope your passion cools down. It hasn't happened. I know this is very heavy. Video. Lots of concepts in it. There are. There are many things. But the beauty is You get all the concepts in one go. You will find it in the video. As you You won't have to go here and there. If you have notes of this You should want this video whenever it releases. If within a week of that, on this video 1000 We finish our target of likes. So I brought its handwritten notes to you. I'll give it to you. That's my promise. Just kidding. Even if you don't get 1000 likes I'll get it to you. Link Description I have it. Check it out immediately. Notes, Blogs, Codes, Cheat Sheets, Everything You Need Tell me. Tell your brother. I'll be yours. I'll bring it for you. Let's talk. It's a strange pimple, friend. So that my nose does not turn red and shines Is. You people keep saying that brother is shining differently. Yes. This is that pimple. No one, just one of our own. Let's focus on the Cubitus cluster. Pimples and vulpas will keep coming. No scenes. Let's Helm release the Argo CD still. Argo CD is being created. Meaning Argo CD projects are being created. Do you know what else is going on in the background? This file is Projects ArgocD. Building the project. Retail store Create a project named Sample Application Whose code is in this repository picking up from. Okay? In this namespace is putting in. And the applications that are These are all the applications of Argo CD. The chart of the retail store with the cart It's being made. Then the catalog is being created. Check out The page is being built. The store is being built. All of this Things are building up. Okay? So Deployment is taking some time. Okay? It's fine. It's okay. A little bit. It will take time, but it will give you such a snap in the end. Most public will get an application that is flaking Secret Shop. What's up. This site is For demonstration purposes only. If you Bought some of this and it didn't come to your house So I'm not going to listen to complaints because This project is great, man. And this You can change the project a little bit. You can put your resume in. You can say that. Can I work on an e-commerce platform? Application for a client, which includes Front end built on spring boot java Using Maven back and on no Jess Golag Database with my Sequel Postgres Dynamo DB Caching Using Redis You can put all this on your resume. Friends infrastructure built using what teraphone Application Deployed on EKS Yes Continues Delivery Using Argo CD Hi Hi, great brother Deploying Argo CD Projekt and Application Kya Baat Hai Argo CD Project Created Oye hoye hoye hoye hoye all the output is this You've given it. Let's read the outputs. The admin password of the CD is sensitive brother. is sensitive. Enter the namespace of ArgosCD If you need to buy Argo CD locally It will work only on cluster but if you want local I want to access using port forward So its command has also been given brother. What's the matter? Give me the end point of the cluster. I've given it. I've named the cluster. Okay? Cluster Name Suffix OI DC If you Connect to this cluster with Open ID Connect If you want to get a third party application done then that too I have given it to you. I have given it to the security group. I gave it all, brother. I left nothing behind. Ingress Enginix Load Balancer Brother Load The balancer URL is also displayed. Let's copy it. It'll be useful later. Okay? I'll tell you. Let's see how. Useful commands. If you want to see Argo CD's abs, check this out. Here you go. If you want to see the cluster, check this out. If you want to see the notes, check this out. Get Potts Let's do it. Let's get pots. Cube CTL Gate Pads All the namespaces All the namespaces There are some beds too, bring them all brother, let me also come. Look how many trees there are, oh my god, so many All are okay, so what all have become of the pads Our certificate manager has been formed so that that we will be able to do SSL HTTPS Engineers, this is what we have demoed. Ingres Our retail store has also become the controller Cart has been created Catalogue has been created Checkout is complete and orders are created. The UI is also ready. How many people are UI ready? Done? Want to see more UI Tell me quickly by writing boom in chat Because here I'm going to do cube ctl which I pasted the command na get Service ingress and give me the URL Quickly, click on the load balancer. My load balancer supports my application Deploying. Guess what? If I I'll open a new incognito. Hey boys. I'll open incognito. You guys What goes through my mind? I I have pasted the URL which does not end With any hub. OK. Enter It isn't secure for now. Because I haven't done domain mapping yet. For SSL. Continue to site. Will it be Live three to one. Let's go boom in the chat. You Have Deployed the Most Public Secret Shop on an EKS cluster All automated. Meaning, if tomorrow I You can also clone the repository here to any I'll play it on my laptop. Obviously. Prerequisite EKS and AWS If the CLI is configured or Terraform, then this Your application will be deployed friends. You should change its public image. Put the image you want in that application Deploy will be production ready drop a Bhaiya, can you show me how to use Boom in the Chat? You are just showing us the UI. You are fooling me, you could have shown me your free face brother. Changer Formal Wear Yes This Boat Aayi Humko Needed Added to card. Need more? I want this shoe too, brother. This ad Two cards. Brother, I need more things. We need to go to the next page. We need this umbrella. Two more brothers. That's it. Now just our brother I don't have $45, so YouTube doesn't pay me that much. I do it brother. Okay. We went in the cart. Let's start. First Name: Jado Street Edness has put in the details perfectly. Continued Total is $45 Continued Do you want it on priority or more priority? I need you more in priority If you want, add more and continue It's 435. Do not give your card number to anyone. Purchase. Oh my God. Mission authorized. Order ID Placed. Order Place Your Order Arrived Your application is working Perfectly Guys Using Terraform Argocd help brother Argocd has done this I don't know how I deployed myself. Let me show you cube ctrl get pods in The Name Space Argos CD So Argo CD is running, everything is running Now I have to look at the Argo CD UI. So I will write this from Terraform output I will return whatever output there is to myself. You will see the port for Argo CD. Look at the forward command here, yes here it is. So cube ctl port forward copy this I did it and went here and threw this cube. ctl port forward port our 8080 My cubes at 80-80 on localhost The cluster needs to be connected, let's try it. So here I went to local host colon 80 80 enter And your Argo CD is live, what a thing Fabulous Drop a boom in the chat friends username is Admin Password I will tell you the password right now. I don't know, but I'll definitely tell you. I'll show you the password. A new one. Take the tab here and go to Terraform in the folder and write the Terraform output. Now here you will have to enter a password. I've entered the command. Where did it go? Password? Can you see it anywhere here? Secret Can you see the secret? Get Terraform Secret. It doesn't matter. If it's not here, then it's here. I must have put it in Read Me somewhere Find a secret somewhere Yes here is the port forward to ArguCD UI Cube CTL Argo CD Gate Secret Copied the initial admin password OK I threw this one at my terminal. Okay, I have received my password. I copied this And go to your UI and select password. Went and slammed the sign in Hey Hackarm ok so this is your Argo CD All How to use this application Sync All Healthy Bhaiya How did all these things come to be? What is Friends Chat Me Aago CD in One Write down the UI and CLI of Argo CD Using Yaml Files Completely Explained I'll explain this in more detail. For now, I'll just say this much. Let me give you this code here applications and projects. So this The project is a retail store project. The things that are written, name name space, You can also create all of these manually. Go to Settings and go here Go to Projects. New Project Go. Like you said here, project name. put my new something to describe my New Engines installed from Lets Description lol put something create Once done, you can project through UI. If you are creating this, please refer to GitHub. If you want to add a source to the repository, you You can edit and add the ad source here. So on the same thing I did through the code Is Name Namespace Is Description Source Installed Repos Gate's rip repository. Destination: Enter the full address of your server. I gave it. It's the same thing. I looked it up through the file. You can also do it through the GUI. Yes. Okay? Let's go to applications now. All your applications are there. Brother, this How did you become one? These are also similar applications. Made from files. These are yml files. Everything in kubernetes is a yaml file and A manifest. Okay? Let's have some fun. Yes. I learned something. Even 1%. If you find this video, please like and Tell me in the comments whether you enjoyed it brother. Okay, so this is our application. It's going on but brother, I I need something like this that if I Here is my main app, this is its source I should change it to . Like in the UI I go to And go to UI and then Source and then Main. This is what I have in templates in Resources The home page is what the UI is showing if I I'll change this, I'll change this here Secret Shop The Most Public Secret Shop Bye Train with Shubham, let me do this and commit to it. Let me do it, I committed it. In the main branch It should not be done directly, as it is new Should be done by branching. Butt from lats If I commit, all those changes will be Yeh Yeh Train with Shubham Yeh Sare Changes I need to see it on my GUI. Isn't it a GUI like this home should be visible here. You won't see them right now. Why? Because right now The current images are in it using Argo CD What image is that? I'll show you. Which image is it now? If you click on it You will do that, the image that he uses is public. It uses images. Okay? This is what I desired. Manifest, all these things are public, right? If he uses the image, the public image is public. What do we have to do? Our own images It will take a build. Deploy will take all of this. Okay? So that's the fuzz to We'll do it in the next section, okay? No one even understands anything If you get it, let me know in the comments. I'll share everything. I'll let you know. So, the Deploy Platform The service is the ingress controller. Engineering Certificate Manager ROCD Verify all components are running and accessible. Completely verified by us. I did it. I also placed the order word. How much? $35 Of. Not even YouTube pays us that much. But we did it. Okay. Let's just phase now. One is over. You give me phase by phase Give me your rating in the comments that Bhaiya Phase One 2 out of 5 stars. 3 stars Take it. Okay, take four. What about you? Will you remember? So, rating me face by phase Leave it in the comments. Let's get started. Phase Two of the Kubernit Application Understanding. Very important, friends. On which you have a lot of deep driving There is need. Come, understand now that there is a need to deep drive in it. Why do we need it? We need every single micro Business purpose and technology of the service Understanding the stack is essential. As a DevOps Engineer only and only on Argo CD Deployed. Created EKS cluster. Quickly picking up code via Terraform Deployment done. That is not how a DevOps Engineer Works. One that is real In essence, a DevOps engineer His mindset is devops. Devops means What happens to Development and Operations? He simplifies it. So, in development I am not telling you about the DSA algorithm. It should come. No. But the code is written You must be able to read that code. Who is behind the build? What database is being used, how is it being used? You should know everything that has been happening. That's why Deep I have to drive. Let's do it. Annalise Each Micro Services Business Purpose and Technology stack. Come on in. This is going well. OK. Where did yours go? Is that a lot of windows? Yes. one by one Do you understand what we are doing? Got the Argocd folder, Terrafom folder I have understood what we have not understood. Those dogs and images. Nothing in the images. Yes. All the showbiz work is imagery. The important thing is the SRC folder. You have to understand this very carefully Friends, be very careful. For example, if You can read the read me which I have given in this video. At the time of starting, it was told that every UI component cart component background Talking to a database in. Caching He is doing it. Understand how he must have made it. So let's take an example of a simple Cart. Right? It's a cart. Cart's Read the Docker file to see what it uses. First, they launched Amazon Linux. used. Okay? So you also generally Ubu, Amazon, Linux, Redat, all these public You can use the images. Now this Maven, Java 21 is using this. What does it mean? If you read the files of your cart source files, you have to go somewhere The files will appear. So if you have Java files are visible it simply means the Docker should be doing maven build mvn install mvn clean will do all these things That's right, see, he'll do all these things. Multistage Docker builds are used here okay now what he has done is some user has been added for security purposes And basically a jar file has been created. If you want to build Java applications This is done. Generally, jar files are created. Now Your Cart Got It You Cart It uses Java. That's why you should use Maven. Now let's go to the catalog. Is it in the catalogue? So in the catalogue after the SRC Now if you look carefully at this, you will see that dot mud men dot go men dot go means like Python files have main.py as well Here is main.go where your If the developer has used Google, then If you need to write a Docker file in golang So how is it made? It is made like this. First, you can download a base image of Amazon Linux. You will pick it up and then you will get the download in G. Download all the Go packages available. will do. Your main is complete with go build The application will build. And once that It has been built, you can access it from app.main So generally, creating Docker images, Creating Docker files is easy. If you Understand who wrote the code in the background. It is written in C language. All these The developers will give you the commands. Right? So this is very important for you to understand. But Now the question arises that brother We understood that the cart Functionality It's written in Java from Let's. Check out or The catalog is written in Goa. Which is behind my The sequel is DynamoDB, which is behind Redis, how do we configure it? People? I'll tell you that too. You'll need to know about that. Let's say catalogue. What is the use of catalogue? Is it happening? Using in the catalogue sequel. So you of the catalog Go to the charts. Go to Charts and then go to Values. You will understand that the image being used If you build it, you can build the image from the Docker file. It's made and you can use it. But if further down will you go So you will understand that my sequel A public image has been used for this This is the version image. The service is running on this port. It uses its storage. It is very important to do everything Guys. And that's why I created a repository. Cube starter Cube starter. So Cube starter What does a repository do? You can get Cubitis. I have to learn the basics. Important things Must read. Deployment Strategies, Helm, Ingress, Role Based Access Control, Kind I have brought all these things here. I have prepared projects. If you If you want to see it in the video then I know you Qobuz You've already seen One Shot. So that's why this deep Driving is very important, friends. You should know what you're made of Yes. Many people don't even know that What are they doing, right? So, Annalise. Each module, the business of each microservice Perp, look at his technology stag. Review the Docker file you created. Help Chart The values of the templates are That's very important, friends. So If from let's to me I have a card service. What about card service? Hem chart is what values does he use In the background? He uses Dynamo So I've used the public image DynamoDB It is also kept aside. If you like this If you don't want to use it, what can you do directly? Can you do it? DynamoDB endpoints You can give it here. So this is very It is more important for you to understand that hell How are charts being used in this? Ok? Service to service communication. Bhaiya How do you understand service? There are many ways to do this. EKS Auto Mode lets you gives the data plane. Which is your node Security and your storage. But what about the third one? Party things remain like this you yourself You can also configure it. By the way, if you If you want to see service to service then you can do simple Let me explain. Go to SRC. Here There's an app. The app is the value of the app. Everything is written in it that The cart UI is the main one. Its endpoints are here Pay is there. Cards, checkouts, orders, all of it. are end points. They talk to each other So this whole thing is SRC for you. You need to understand folders very well. Let's What do you do if you don't understand it? Can you know? Look, these are tips and tricks. If you want to take them, take them. Look, you have to go now. In the SRC folder. OK? SRC folder I went in. Here again you can Q Amazon Q You can use it. And you can tell him. Can you explain the microservices in The SRC folder In short. Simple. Do you know what he'll do now? SRC It will continue to scan the folder in depth. SRC will continue to scan the entire site. to the folder. And while scanning the entire folder, it will understand that from read me files and here and there What is he doing? And you will get a complete Understanding will give it. That's the beauty of AI. A lot of people are afraid of AI. Look. What I'm doing today is what I I set up the project and did all these things. I did it manually so that your life It should be automated. But there are so many things that The reading is done, the knowledge is transferred, that's you Why waste 100 hours? You can ask the AI directly. See now. Microservice Overview Catalog Service Uses Go and My Sequel and Provides API for product catalogues That the product information is shown on your UI You can also use CartService Java Dynamic Uses customer data in the cart Stores. Check Out Service Temporary Customer data is provided for Redis caching Order Services manages my Order and Integer in Java with Sequel Data The UI is your front end that lets you access the API Apps are services that handle calls to each other. connects with. This is a typical E-commerce Microservice Architecture with Each Service handling special. So you quickly I asked the AI, brother explain this to me. That's the benefit of going deep with AI. Let us go Now brother, what's next? Understand. Service to service communication is now complete. You've seen the containerization approach. Review Hale charts. Applications of ArgCD You've checked the definition and sync policies. Okay? How the service is being exposed is very It's important. Let's look at that too. All the services that are there if you go into it In service, they are exposed on port Number 80. If you look at all these ports. Exposed at number 80. All these HTTP is exposed on port number 80. And the ingress controller just redirecting. Everything you Pick it up too. Which one have I bought? Did you pick it up? I picked it up from the catalog service. You Pick up any, pick up check out service and Go check out its service. It is exposed at number 80. Which gives it its name You will get it. See this also port number 80 Pay is exposed. Now its ingress He manages everything. Ingress Joe He manages everything, doesn't he? You Go to UI And go to the UI ingress, okay? Went to Ingress. Now in Ingress you have to do everything The thing you will get is that this is the UI of the retail store. If you want to access through the domain What is it? You can find everything right here. I will go. Okay. Okay, nice. Now, the next thing is the most important. The important one is Fuzz Three. Gates. Brother. It's been 1 1/2 hours. Now we need to understand. gitps what happens is that I put something here I changed the UI in the application. Something changed. My actual UI. I should see it. It's changed. How? So, for this you need to understand a few things. You'll need it, friend. Look, pay close attention here. From. What is your github? SCM Source Code Management is yours. What is ECR, what is ECR, elastic Container registry means whatever containers Images will be at the helm of ECR What it does is it fetches images. What does ArgCD do on an EKS cluster? Deploy it, it's such a simple task The question arises regarding this ECR. How will this Docker image arrive? That is the question. How? It's very easy. It's very easy. I I'll show you. What do you want to do? You go. Write down your ECR here on AWS. OK Have you written the ECR? Fully Managed Elastic Container Registry. You can create the repository here. Create. Okay? So here I have But some repositories have already been created. It's happened. What's the matter? Brother, isn't it? Don't make yourself public. Keep yourself private. I have to do it. How will you do it? Let me do it. I give. Let's create. Create a Private repository. I'll name it am demo Private. OK? Put in the demo private del. And Here we are providing UI images from UI Lets. If you want to push me then demo private UI Image Tag mutabs mutability mutable Meaning change can happen Immutable meaning change If it is not possible then I want my I am not that bothered if the tags get changed. I will make immutable tags but no It's up to you and that's it. So what did I do, I created private I have made the repository private. Now I can do this I will just click on Done clicking. Now see what it says. View Push Commands Click View Push Commands. And This Is How You Push an Image To Your Repository. AWS ECR Gate Login Password Username AWS This is it. So copy this. Anyone can use it in their terminal. He goes to his hero. Now. Okay? It's gone. Now I have to build the UI using let's. Here is where my Docker file is located. I'll just do it Docker. Okay, one by one. Let's do it. Okay? Let's not rush it. Bro. AWS ECR Login Password Copied it and posted it here. But he slammed it in. Now that little time He will take it in his private registry. This will log you in. Login is successful. That's it. What do you do now? Docker build image. This should now be the Docker file here. What is the Docker build image? Now that much time It will take Docker to build and so on. It will take that much time and he will build it completely. And so on. As long as it takes. The UI image is a bit big. Look, there are 18 layers in this. What layers? Does it happen? Again, look at Docker in one shot. Docker is also very easy to understand. will go. Okay? This video is for those people. Who accomplished DevOps and One Shot I've seen the entire series. They are masters of Devops and now they want a project. And I'm explaining that project. Okay. So this build will be as cool as yours. It will take time. After building it You have to tag him and push him. That's it. Your private image is yours. It will appear in your ECR. And that's the image. The name is just given to you in the help file. Update it. Finished work in valuesml Just update it and it will start working. That's it. It. Now this is what I've been doing so far. Which is this that I work so hard for? I have been. It's all manual. So I logged in. I did the build. Then I'll tag and I'll push here I will then go and get it to Helm and he Argocd will deploy the latest image. Sleep Manual I need to automate this. I don't want to I wait for hours to see when my friend will come It will build. Then I'll wait. When will he No dipl here I will tell you one simple thing I give which is known as CICD Continuous Integration You've seen the Continuous Deployment CD. I took that Argo CD will say that whenever your Source Repository Changed Those Things I'll deliver it. CI How will you do it? CI Continuous Integration means that anything in the code Detect the changes that have occurred. Then log in to ECR. Build the image. Do it. Tag him, push him. All of this if If it happened automatically then that is called Continuous Integration. So CI cd in Continuous Inti Integration: What does it take for you? What is Docker first? Check out the code Then if your code is latest then its Detect Changes Then What Will Happen docker build then what will happen docker tag then What will happen then? Docker push to ECR then What about my latest image? The tag is the update tag in Helm charts. So this If all these steps are done automatically If you go, I will have the latest image that will be created. Its value will be shown in the help chart. It will happen. And from here From here In Continuous Deployment I used Argo You have already set up the CD. So I have already set it up. So this becomes my complete CICD pipeline. Will go. But there's a catch. The catch is if I didn't do this CI and I Directly updated in Hale Charts Go here manually So can my Argo CD deploy that thing? Will you do it? Yes. Meaning this is the entire CICD pipeline It remains and not from github This will be built on Docker, this will happen again There will be a push in ECR These Then it will be deployed on EKS, so this Devops lives Code Build Test Deploy CI CD now know what the problem is What's the problem? If I Go and change the values directly And this Argo CD deployed it Then your application must work. Any scene No. But are those values GitHub Does it match the code on the Is it? No. So after a small error in DevOps Chances are that if your engineer Devops engineer manually helped updated the charts and added Argo CD If he picks it up then check your code The code that will be on Git will be out. And those in deployment and those in production The match that's going on won't happen. And that's why The concept came from Gitaps brother Gitaps what What is the difference between Gittips and Devops? What is GitPop? What does GitPop say? Speaks to your Git and your version control The system is the single source of truth. Meaning Whatever is written in your GitPap code The thing will go into your deployment. If your github has a If you need a replica, you can use it in your EKS cluster. There must be a replica. If it has 10 If it is written then it should be 10 here. The way you do something is to change the code in github. Yes. Automatically build. Values Update it. Deploy Argo CD They. And that is why it is known as Ghopps. And so Phase Three of this The project is the most important Face Till Now That here you have to understand Gitps a lot. It's important friends, it's very important. Review Gitps Principles and Benefits Single Source of Truth Meaning I was quietly building this No, this is such an unpacking of Docker, this quietly I built it and I quickly got here. Docker tagged And did the docker push. Docker pushed. This is wrong. This is not It should be. Why shouldn't it be? Because the docker push I am doing Hmm, my help chart will pick it up. But can I upload my source code to my github? Does management know that this change has occurred? No, he doesn't know whatever changes you make. It will be on GitHub. So that's why Gopps You will need to create a new folder for Which is known as Main Main Wale Pe I'll have to make it. Not here. New Folder Whose name will be Ghub Work Floss And you have to make work floss, friends. Bhaiya what is work flow, this is what happens The workflow is what I just described. This only that changes in the code were detected in the code If changes are detected, docker build will happen, Docker tag, Docker push, update Helm Charts Pay and ArgosCD that thing Deploy it automatically That Can Be Achieved Using GH Actions. Let's get started with GitHub Talking about actions. OK? So GH action isn't too difficult. It's simple. I'll show you. what do you have to do? oh yes by the way you The image is in the private repository. The push is done. Close it and If you refresh, you will get the latest information here. Got the image. How fitting. And if you look at this image, Where do I put the value after picking it? Help Chart Put it on. Now your latest version is playing. Wala image. That's the beauty. Okay? Let's understand Gitps right now. What would I do for GitPop? It's simple. I'll take you to GH. On Ghub. And I'll take you here. In action. In action. Okay? In action. Now here you can click on New Work Flow. You can find all these workflows on GitHub. Defaults to static HTML Deploy the pages. Deploy static HTML pages then you just configure this Click on the button. The entire GH workflow It will be done automatically. What else can you do? Yes, look. Publish Docker Container. Docker Container Publish Want to do it? Click on Configure. Now watch the fun thing happen as you configure Do you know what will happen if you click on it? First The bar didn't click properly. Your GH The action is already done. The name is Docker. This workflow uses action That are not certified by GH. OK? It You can also schedule that in the 23rd minute Run it every day at 8:00. If I whether I push anything to the main branch or to the main I create a pull request on the branch So build this image on this registry It should be ready and whatever will be built should be local. They will not pay, they are the runners of Ghub. He has already installed the machines for Gh. The one running Ubuntu and checked out Your code will do whatever the latest code you have Docker will take the code that has been pushed. What will the build say is Docker's metadata Docker build and push Docker image build and Push Joe's commands we have ECR's put that here and that's it Will push your image. Isn't This Amazing? that you don't need much You don't even need to write. You just need to work. to go to Flos and you just have to Create work flow. That's it. This 404 is coming because your There is no work flow in the main branch. No, but brother, if I work flow If you want to write it yourself then I will tell you. Kiro Bhai, I will tell Kiro, hey Kiro of Do me a favor, enter your idea I want to generate dot git hub work flow for this Application which does three simple things three things What will it do? Detect any new changes Build and Push Docker Images to ECR And update the values in Helm charts Boom, enter. What will Kiro do now? I mean, AI. What will he do? He'll make a plan. A plan. It will create whatever files you have. All the things that are there in this whole system He will read them all. He will read them all. He will read the latest Cloud 4.0 as many LLMs as there are Nowadays the world is moving towards AI. Friends, it is a very crazy time. General After understanding your source code well, one can AI can also create workflows for things. Yes, all this data is local cache. It stays in. It doesn't go back to LLM. to be trained. So too is your data It's secure. You're doing everything locally. Amazing. So what will he do now? He's a Spec will create your There is a requirement, let's say you require Do you do Gib Actions Work Flow for Retail Store Application CICD Pipeline which includes I have a requirement CICD The pipeline has to be automated whenever the main The code will be pushed to the branch and this will happen whenever If the microservice changes, this will happen. If multiple microservices change then this What will be the second requirement as a Devops Engineer I Want Docker Images Too B. Automatically build and push to ECR. What's up? Quickly write "boom" in the chat. Because it is the most advanced yet. This is a project that I have created. Integrated with how a can be used in Devops for GitOps in a Multi-Micro Services Architecture on EKS Automode Drop Boom in the chat if you like it If the requirement seems right then you can apply for it. You can go to the design face. Move to Design Face. What will happen now? Whatever these requirements are? He will understand that brother, this is the requirement I understand. If you need some changes, If you want to get it done, you can make the changes here. Yes. Okay? When debugging for debugging If you want some changes then change all this yourself. You can also do it from here for example I want it to be the best DevOps and Gates Practices Or if you have a requirement then write like this Give it here and he will understand that too and for you will create a design. What is a design? whatever your understanding is, whatever Your requirement is to give it a design face He will take that First this has to be done, second this has to be done, This is how the flow will happen. First, it will detect Changes. Whatever I wrote here I told you the things I wrote here. Told that Detect Changes, Docker Bill, Tag, Push, I'm showing you all this by design. Was. That's the only thing he'll make himself now. Once the design is ready, click on the design. See this main CICDC work flow. CICCDL Trigger on push build then build service like so This will also create the entire Yaml What a great move to implement. Fuzz Implementation What If in Fuzz If you feel your design is right, you Tell him that my design is correct. All set. What next? Next which? This task list will now create a task. The first task is create a folder dot gtube work Flos. Task 2: Do this. Task 3: Send an email if my build fails so on. So this is creating a task. Can you see? Created task. If you click on this task will you do it First create main CICD as a DevOps The engineer thought that first git work A folder with flows will be created then path based Filtering will be the card catalog and so on Then the reusable work flow will be the build service Then AWS Authentication ECR Access If you want to know how the authentication will be done then you will have to Giving your secret access keys to Geeb You will read it, yes yes they all give it like this brother Nothing, don't worry, docker build multi Platform, all these things, service Specific configuration configure go service If he doesn't configure all these things, he himself Friends, you will just finalize the task. You have to click on it. Let's take you to the last You don't need a task. You need testing or If you don't want validation, you can delete it. You can. Save as Done. Fileless Task List it. And all these tasks AI will finish. I will do it. Let's see the finalized task list. I clicked on it. Now one by one He created three things. Requirements Document, this document, Implementation plan. All in one DevOps Engineer does it in day to day work. Now You can simply start the task. Click it. Boom Create Main CICCD Workflow File. create.git workflow. So here Your ghub wfls folder is created. Now if you want to make CICD then in ghub wfls cicd. She made it herself. Click now He's writing. He's creating right now. But After some time it will give you the output whenever You have to review it. Don't say it later. To the boss. Hey brother, we did not write it, AI wrote it. And that too was told by the brother from Devops. Doing this is why it doesn't happen that you You will have to review this friend when you review it. When you do it, you will know that this is Made such a long file, it was too long No, he made it well, even the Matrix. I have used it, it is well made and works well Well, it looked good, it did the task Tasks in Progress It is performing all tasks Is This is Chumeshwari work. How is the video looking? As yet? Task completed brother. Create me The CICD workflow file has been created. If you go to CICDC, whatever your Docker push and build is action, setup build exe Yes, need AWS account ID It must be, you need a reason. Okay, what's the matter? All these things, all these things here, update the chart Path Brother made it all. He made it all. Drop a Boom in the chat. If you understand How things are going. By the way using This I have already created A Gotab Actions workflow that shows what you do Can you? Get it status. You made all this. Done. git stash it. What can you do with the stash? Does it happen? All these things are temporarily hidden. And you'll use it later. Okay. Now I'll go to a new branch. The name is Git Check out Get Ops. So I created a new branch I have created this in the new branch. already I already Deploy. I've written it down. CICD. I'm here now. There's no need for this. OK, delete it. You can. Why am I deleting this? Because brother, I have already made this. I have already made this using that and using my own intelligence that this It's not wrong. So look at it very carefully. So, basically, these are all the jobs in it. Three There are jobs. Try reading it from the top. Do it. There is a simple pipeline called deploy which what do you do if you push my Path SRC Meaning in Branch GitApps If This is the GitPop branch in the GitPop branch In this in SRC file if my developer Look, the developer will push it here only, right? If someone wants to change the UI then he can change it in the UI. Will change the catalogue then in the catalogue If he changes then I will change my work flow This work is done by a DevOps team. An engineer will do that. What will AI do? Tells you anything in the entire repository Once the change is complete, run it. Here you will find your I have to make sure that I have the entire repository I don't want any change. Read me, change it. So my pipeline should not run. SRC If there is any change in all this then it is my Pipelines run. Okay? Done. Push on. Done. What do I need in the environment? Requires AWS Region. Secrets AWS Region. OK? If you're using Read Me If you check the file, go to the last page. Go to Last Fuzz, friend. Then you'll get GitHub Actions. Create an I am user. You've done it. Yes. Generate credentials. You're done. Go to your Gibe repos settings Secrets and Variables Actions New Repository Secret OK Access ID Your Access ID Now the user who has accessed your email address Case cluster created with same user ID Use it and create a separate user for git. So that you know that because of that user this Changed Don't Mix Up Your Users OK So what I'm going to do now is I'm going to go to AM. I'll go. Okay? I'll go to IM and I'll I'll create a new user. Okay? New user. I will become the one whose name I will put on the gate Ops Admin. GOPs Admin. Okay? This new There is a user who now has which-which I need access to GitHub. I don't want to give the user all the access. ECR has to be given. Where did ECR go? ECR Me Re Okay, give me admin for now, but you What do you basically need? Yes, you can buy Amazon Q You can ask what all You can ask from here what all permissions should i give to my gib actions what is this Zoom in a little bit, all permissions should I give to my Gibb Actions user In IAM So That It Can Build Push Images to ECR Use the best security Practices. What's going to happen now? I understand AI. I will see what permissions I will get. What tokens, what things do I have? I should do it. Okay? So he told me that You have to use this policy. Okay? So How cool is that? He told me everything. What Least Privilege Principles Use and all these things. So you should Create a user. GitHub Actions ECR attached policy document. OK? What's the point of Attach This Create Access Dude that's the power of AI guys I this I'm not saying that AI will take your job. You want to use AI in your job. To increase your productivity, You can get a lot of jobs this way. Friends, it is very important to understand that fun come can you do this for me Welcome to the era of agentic AI. Okay? So here in the middle there are agents who use tools are using use AWS. So that What will he do? By moving X and Z things around It will create that policy document. Then This will create the user. will create the user. So right now what I am doing is manually I was creating users and doing this policy. I don't want to do it, it is not necessary because that will Let me attach the policy ok attach the policy Let me create the access keys ok access Keys Ghub User Key Let Me Have Access Keys will come right now I got the access keys, okay, nice, so this is mine. Access ID is great, enjoyed it. Access ID Now here if I If I refresh, a user has been created. gotta ghub action ecr user aay hi now i What should I do in my retail store app? I'll go to settings I'll go to settings After going into Secrets and Variables I will go to actions and here Repository secrets are mine I've changed the repository secret I will configure it as written here. Go To Your Get Rip Settings Secrets Variables Actions New Repository To Access ID Secret got its name and Secret Access What happened to the ID of that user? The access key is Create Add a Secret Access The ID has arrived, what else do you want brother? need secret access ok one more Create a repository secret and enter its name. Secret Access What is its value? This is its value. I'll delete it. Everything gets deleted as soon as the video arrives. I'll go. My manager is also watching tomorrow. They will say what is he doing? I'll delete it, man. Okay. AWS Region See Read Me. AWS Region or No? Yes, it is. Okay. So, new repository. What AWS region is the region? US West to. Use your brain here. AI what did he say? AI said US East One And you are preferred. What are we doing with this copy? Let's paste it in. So let's give him all these dumb things. Like stop copying and pasting. From a Increase your productivity. Okay? Account ID 62. Now this could be wrong. So you What should I do? I added this region. Now I have my account ID too, right? Account ID Where did it go? If I get my account ID, I want to find out, it's very easy. AWS go to console like my train vs Shubham This is your own account, copy the account ID. Just go there and throw it. Now this is how you have access to GitHub. I have given you the details of my AWS account. Not the entire AWS account Given. Cannot create cluster raster This. What can it do? Just push Can image. That's it. Least Privilege Security Principle. Okay, I am getting to learn a lot from this. From the video. It's been 2 hours since I stopped, brother. If you are not taking the name then you should just like it. Leave a comment or two to let us know what the next one is. What video are you going to watch because this one So, brother, he's gone crazy. Let's do it. Repository your secrets. What next? Do you want to? Let me show you my face once. Work flow by going to the branch with GitPop I'll show you. At the Gates branch. Let me go and show you the workflow. It's very easy. Not too difficult. Yes. It's deployed. I told you, didn't I? Well, I was just explaining there. Meanwhile, this one arrived. Okay? Now, this one first. Got it? What's your name? What's your job? Name of. Okay? On means when will this job run? Push changes to this branch on this source It will run on AWS in this environment. You have the secret in your region. Now you I configured it. So should the environment. There are three jobs in the job market. Detect Changes, Deploy and Give Summary. So, what does Detect Changes do? The job runs on Ubu. Meaning, on the runner of GH. It will work. You need to run it on your local No. GH automatically on its runner Will run it. Output Change Service Steps Change Output Change service what is this brother this means where But also if there are any changes in these steps The steps are this is a key and these are its If any changes happen in the values Check out in cart in catalog in UI Any changes to orders occur in So what should you do? Check all the changes. And what if changes are detected? Should I go? So my detect changes will run. This will help you understand which one is which. The sea service has been changed. Okay? Done. I understood this one. OK? Done. So Detect Changes will only show this. that your developer has made a service change Or not. Done. Deploy this lot This matrix is the dot service matrix. What is Dot Service? Meaning of Matrix Parallel Jobs. If you look in Read Me here And if you look in Read Me, I will give you a I'll show you something really cool. Or you You can check it out in Actions. Jobs. Parallel jobs means like this. it Multiple jobs can run at the same time. is called the Matrix. It's your Neo and This isn't the Matrix with Keanu Reeves. To run multiple jobs in parallel It's the Matrix. Okay? So what does it do? If changes are detected, only then will this Run the thing. What do you do? AWS Configure the credentials. Here the credentials are configured. You have accessed the ID secret. All this is already provided. Log in to Do ECR. You have access to ECR. It will log in. Build and push. That Same thing that we did manually. Not here. No, we did it manually. I did all those things. I pushed Manually. All the same commands are written here. Name of the repo Account ID Region. How did you find out the account ID region? Here if you go on ECR So whenever there is a push on ECR, if you go to your private registry whenever If it is pushed, what is the name of that image? your account ID then DKR ECR US West Region Amazon AWS your One way is to enter the name of the repository and then the tag. The same method is given here. ID DKR ECR Region Amazon aws then Retail Store Your Image Name Then Service Name of UI Cart And So On Okay Then If the repo is not there then create it. Create will build and push docker build Same command docker build docker push The command will be pushed. Once the image is pushed If done, update the values of the Helm chart. So updating helm values for this So first you have to see that help chart where is it kept. So ok command again Linux in One Shot if your main image is Meaning if you have the image above then its Add the updated repo to the repository. OK Is it? Just doing this and that successfully Updated images. And that's it. That's it. Once you have updated the images. Commit those images to GH too. Why? Because when you commit on Ghub What happens? Show me. If you commit to Ghub If you do, the work will start. CD Wala. What is all this? It's all ci. It The jobs that were to detect changes, deploy, Summary. This is your CI. This was your CI Continuous Integration. Once you've committed I did the Argo CD work again on Git. It will start. What did I do there? Yes? I have mentioned it in the applications. that if in the gitps branch of this repository If any changes occur then these values Deploy it. Values The Deploy CI job has added values here. changed it And Argo CD deployed that. Meaning, whatever goes to my gate Argo CD will deploy my cluster Pay. Let me show you. Ok. Let's turn it off. Clean it up a bit. I will give you I know. Ok. git status now ER policy is ECR policy. Right? I I don't even comment on the policy yet. I'm fine. I'll do it later. Okay? Anyway, commit. The policy should be implemented. What should I do now? Is it? I want as many of my There are services, I would have made changes in each one. I am. Went to SRC. Went to cart. Went to cart I'll change it in Read Me. A small one. I will not change much. A test commit. This is a commit called test commit. Small change. I'm every single micro I'll put it in the service. I put it in the cart. I do it in the catalogue too. Do you know why I'm doing this? So that All my images build it. Or you'll do it. Now I have changed the catalogue also. I also like to read me a little about the check out service. I'll change it a bit. I'll also change the orders. I'll change it a little bit. But brother, you So I said that you will change it on read me and Not good if the pipeline gets triggered He's showing you a demo. I am. That too as much as inside the SRC folder He has the files. OK? Read Me Well, that's done. Orders placed. Read on UI. to me Test commit. Done. So right now I'll do if git status So I have five files changed. So I can add SRC if I do it. My status became five ready to commit. So if I commit this get Commit hfan.m added minor changes to src Microservices I will put something like this for testing. The commit has been made. Should my pipeline run? Why? Because what does the pipeline say? When will it work? Pipeline says on push to the branch gate offs. So if I do gate Push Origin Get off. Also, if you want to do it, you Take the diff of this branch, this repository and Try pushing in yours. You'll find out. I am pushing and saying that brother It's not working. Okay? Get Push Origin Gates Enter The push happened. As soon as the push happened. Now I Where will I go? I I'll go to the repository and go to the github header Recent Push. Okay? Now I'll go to my actions. Where are you? I'll go to the action. Can you see me? Pipeline is running added minor changes to Click on SRC Microservice Testing At the end of that you will see Detect Changes service ok is it getting some errors Oops, some errors came up, we'll fix them. I will do it brother, my job is to fix the error. What error is occurring in Deploy Cart Build and push card pay OK User is not authorized To perform ECR create repository we I gave him access to push but If you are not given access to create repository Now what I will do is create that user. I'll give you access to the repository. Let's see. Are. How will I do it? Hey, he's my brother, isn't he? Amazon Q So if you write Amazon Q ECR Create Repository Access Was Not Granted Given to the GitHub now this user name is You will have to pay properly, friend, otherwise he The poor guy will get confused. I AM going to pay. Oh by the way this whole There is no editing anywhere in the video. So the errors I get They can come to you too. Just what? Is it in this? Gh Action ECR Policy. What? Okay. I'll give you ad permissions. Here. No problem. Brother, let someone do it. Get to the User Gateway Actions Using the Policies ECR Create Repository Access Was Not Granted Given to the GitHub Actions user. So what is that? What will happen? The ECR in this repository He will assess the policy that he has already kept. What he is saying is that the ECR policy is missing is ok That's so cool. Okay. That's why you always Create, Describe, Permissions, Read All So whatever AI generates Read it. I deliberately left all these errors are built in. Like you would tell an AI to do that Don't use it haphazardly. Do it properly. Use it. Okay? Now does it have ECR? List Create Read Update End All ECR Related Permissions On AWS, ask if this user Who has all the permissions? So he will tell which permissions and Needed Ok? ok nice look tags vj list karne ki Permission is also required. Right now, because of the tag would have thrown an error. Okay? Done. Let's Give the Permissions To the user. Now Brother, I understand one thing from your actions. She's here. I know a lot of people are watching me right now. Will write in chat. Brother, if AI does all the work then what will we do? Will you? What about our jobs? Simply put, Let me tell you one answer. AI is an assistant. So what you saw, What you saw Amazon Q, all these are Assistants. The most capable AI assistants. It helps you in your day to day life Do it. Okay? It's not their job to do it themselves. Take decisions on your own, pipeline on your own Everything will be messed up. If you tell the AI That dude build this end to end makes garbage It's very bad, brother. So you need a human in The Loop. HITL also speaks of Human In the loop. This is essential. So treat A.I. As an assistant. Sharpen your knowledge Do it. You may not know that ECR How to add a Create Repository policy Yes. Ask the AI. You probably don't know. will be least privilege security What's a principal? Ask an AI. Well How Solutions Per Architected Framework Architects work. You probably know It won't happen. Ask the AI. So use AI very Wisely. That's why I added AI. Right? Is? The Permission Issue You Encountered Should Now Be Resolve Your CICD Pipeline Should Work Walk Smoothly Ok Click on rerun jobs so that If you missed something, you will get it back. Reinfeld doesn't have to pretend to be committed Click on Jobs and all these things fail. It's done, click on rerun jobs and let's go. Back to those Jobs metric tricks. He's made it. This matrix is very It is important friends because multiple You can run jobs in parallel. Now Card Catalog Checkout Orders Deploy UI, all this is happening. Okay? If you Click and see it pushed. Be happy. I saw the whole build and push thing. It started happening. Okay, it's being built now. It will be pushed. This is the best part of DevOps that you We get to learn so many new things. Now you will say that brother, GitB actions in one Make a short video where you yourself say a line You write the bylines and I will do it. Correct. Tell me in the comments. Complete the like target of the video. I'll do it all. Argo CD in one shot, I will do all the things in Gibb Actions in One Shot. You have to be mindful that you are not following the tutorial. Don't get stuck in hell. Big screen again. What is the chat tutorial hell? You I sat down to study Linux. I watched a tutorial, Saw another tutorial, read this one, that one too I read it, I read it all. That's not good. Friends, did you read anything about that project? Fixed errors in the created project Did hands on that project Put in the resume and applied for jobs I got a job but I didn't get any. No problem, again upskilling done, this is How You Get Out of the Tutorial Hell You So You will say that brother, get action in one shot. Bhaiya, I want to make this in one shot. I am ready, I like to teach It's up to you how you do that thing. You absorb it. Well, my job is to keep this thing going until it's all over. I keep talking nonsense to you. Just Kidding ok oh wow brother this is a very correct thing I found it. Shivam's hat on the train. Come Done. So I know for many days Not going live, not having meetups. and I Know Train with Shubham that you know you are missing me. I know brother when batch 10 is going to come. Brother? This will happen, everything will happen. Right now, like this Let me make powerful projects. Next Level Ones. Let's Deployment Summary My brother gave it to me too. This is a commit. This branch But it happened. Shubham the boy triggered it. Which services have changed? UI changes Done, catalogue changed, card checked out Change orders. Deployment successful. Done. Build and push Docker images done. The hem charts have been updated. Also commited. Argo CD will sync it. Wow. Let's see if it really happened. Whether it is or not, then go to ECR. And go here and give me your private Yes Retail Store Cards are available in repositories. It's out. The catalog has arrived. Retail store checks It's out. Orders are in. UI is in has happened. When? July 27th is today's date. Has gone. Now brother It said that Argo CD will sink automatically. Which is this branch in which Have all these things happened? This branch name What is it? So this branch is called gitps. But your Argo CD, if you If you check in details then that Argo CD Londe Shubham taking from the main branch of 153 Yes. I am not taking it from the gate of the branch. Yes. Why is this? Because when we Demonstrate the project in the beginning When we were doing it, we used the public image. The private image is in the gitps branch I have kept all this branching. Strategy explained in the .d file How is my branching architecture? If the developer changes the code, If it is in branch then manual deployment Public ECR images will be used and Umbrella Chart Complete Guide to RGCD But if the developer changes the code Gitps branch in production branch I will then trigger GitHub Actions which Buldan will build and push to hell charts Will upgrade and Argo CD sync. Private ECR will update the images and will update individual apps. What does that mean, friends? It means that This is my Joe Argo CD. Gitps This is the configuration of Argo CD. I want to apply it in my cluster. Did you understand? Because right now what I running in the cluster, what is that running Right now the ROCD running in my cluster It is running on the main branch. What do I do? cube ctrl apply hfn F rgocd In which applications of All the applications, whatever they are in these namespace rgocd Enter. Do you know what will happen now? Now look at my updated Argo CD Configured Configured Configured Updated Target Revisited Which Is Get Ops will use that. So now you can use your Argocd if you look at the applications then all Look, they're processing. They're processing. And if you look at Target, you'll see Gitps. Branch and all are healthy. What a great thing. This is gitps. Funny what did you do? You coded on Ghub GitHub Actions changed that. Build Test Currently in testing stage I haven't added it. I built it and Pushed to ECR. Help Charts Updated and synced by Argo CD And every Argo CD is syncing now. Yes. He will do it slowly. Because he will have to complete Moving from a public image to a private image If it is there, it will be completed. It will happen slowly. Can You See Green? Slowly Greening Your Life It is happening. How did you like the video? How long has it been since the video? I hope 2 An hour and 22 minutes. Oh my god. And your application is up. Take a look. Check if my application is running or not. So if I want to see the UI of the applications So I can directly use the Terraform app. I'll go to the folder and write it down. Terraform Output And here I get the URL of the retail store. You will find them. So just run the echo command. Me. Copied and pasted here. So here is my application running. Copy this. And go here and try it. Is it working? Yes, it is working. Why? Kyunki Secret Shop By TWS Bhaiya By TWS Where did that come from? Because I had created the gitps branch I had made those changes in the UI by TWS If you remember, what am I doing? I'll go to SRC. Oh, by the way. Nothing is going to happen at the Main Branch. Branch Is Your Branch with Public Images. Go to the gitps branch. Go to the gitps branch Go ahead. Now look, I'm going to change the UI. I'm going to go into the source of the UI. I am. Think of it as a developer. Changed the UI to its resources Went to templates and the home page He went to the home page and said it. What did he say? Secret Shop by Priceline. Everything Is Secret. Agent Needs Minus Paperwork. Yes. Then write it here. Hello there. What have you done to him? What have you done? Did I give it to you? Did I mess something up? Where did you go? I messed something up. Oh, also clicking Edit This File It happens. So, maybe I didn't do it. What's happening to him? So where's the change? Did you have to do it yourself? Yes this not Hello friends How was it Like the video if you enjoyed it watch like share subscribe The way of asking is a bit casual but it works. Okay, do it, hello friends, how did you like it? If you enjoyed the video, please like and share Subscribe now, don't do it if I I comment and commit So will that commit ROCD pick get off? He will process it. Only if it happens. Do it. Okay? Or don't do it. Go ahead and commit. I'll commit to the github branch. Directly to git branch. As soon as I What will my git gib actions commit? Will you tell me? It's been pushed. It's been pushed on the branch. So if I go to my sample app So the push has happened to the GitHub branch. Go to Detect Changes Details. Detect changes. What changes were detected? Yes, we did. Deploy UI. Just UI, brother. Why was it deployed? Why weren't the others deployed? Because I have written that when If the service changes, change it accordingly. Services Architecture with Gates. Drop a Boom in the chat guys. If you're enjoying it It will. Okay. So what did it do? Build End Push is pushing the UI now. OK Is? Okay, nice. What do you think? Hem Values Let's see what will update it. Build End Push UI is happening. Look, I don't have hands. The one who applies it. Otherwise, tomorrow you will say, brother, you Edit and trim the video and play it Yes. And brother, we are not like that. We are a little We are living people. We would have lived a little longer. Yes. So let's enjoy it like this. Build and Push UI is underway. Until then, we'll try some water. Let's drink it. It's been two hours and you've been doing the goat. Are. And remember the credits thing. You created an account on AWS this year After July 15th, you'll get $100 in credit. See you. And if you take a few more steps If you do, you get $200 total. Awesome, run this project, add it to your resume Do it. Post it on Lindin, not me. Know you must have Gates skills. Friend, you must have ArgosCD skills. Must have Terraform skills. EKS Auto You should also know how to mode. This takes a lot of time. He is taking it, friend. This old man talks a lot in my presence. It's happening. It's happening. Ah, do you know how it generally works? You can do anything. If you watch the videos of big creators then they Never put breaks in videos. He is drinking water in the middle of my videos. The boy will go and take a walk and come back soon. I started the video in the afternoon. It's evening. Has been. So this all happens, brother. Hey, what? Is it okay? It's done. It's done. What's the matter? It became simple. Now my CI is over. Can I CD it? Where did that UI go? UI can you see can Can you see this? My UI Progressing. My UI Progress It is doing it. Look, it is being deployed. Automatically. I didn't even touch it anywhere. I did it brother. I haven't done anything. Nothing. I did. The app is healthy. So if I'm here What if I go and hit refresh? Will the change that was here come? Refresh. Hello friends, how did you like the video? If you enjoyed it If you like, share and subscribe completely Gitps Cuber to Production in One Shot. Your brother delivered it to you. Very I enjoyed it. By the way, we forgot about ourselves. Ticking off the agenda So where were we, you saw how Access to Argo CD as an admin You have entered the port with the credentials You also saw the forwarding of GitPos See the principal of your application. Deployment was also monitored and observed Improved Argo CD's sync processes Health Monitor just got declarative Configuration Management Get Ops Getb Work You've seen Flos' self-healing capabilities. You have taken the URL of the load balancer. How? Here's how the load balancer works. You got the URL. What did you do next? Test complete. Yes, brother. You haven't even tested it. You've applied. How can you do something unexpected to us tomorrow? How about showing it to us? Explore Add to load out start. Continuity Content Delivery Continuity Mission Funding purchases should be made and the mission authorized. The app is well tested friends, where did it go? My OK Verify All Microsoff Communicating Properly is All Communication Getting Proper. Test Different User Workflow Browse Add to Card Checkout I have taken it brother. Monitor application health and Performance metrics have been done. Practice Trouble Shooting Common Deployment Let's practice the issues. There are some common deployment issues that you A changed image, changed secrets. They're not reflecting. So, all that stuff. Yes. They do that too. Learn to identify Roll Sync Issues in Argo CD. These Sync Issues Occurs when your configurations are correct No. How to roll back? A video. Created deployment strategies in one shot See that also in Application Logs Proactive Trouble Shoot Kya Baat Hai Oye Hoye Hoye hoye hoye fuzz one two three you finished it all I have done it, please give me a fuzz wise rating brother. OK, what did you learn from this video? What were your learning outcomes? Have you gained technical skills? Tell me in chat which ones. Infrastructure as Code vs Terraform Have you done Kubinets cluster management? Container orchestration done in EKS auto mode GitOps Methodology Viewed on AWS How to integrate cloud services Hain Wo Dekha Production Trouble Shooting End Monitoring View Declarative Infrastructure Management (See DevOps) You got the idea of the practice version How is monitoring and control done? You may also have seen Observability Practices For If you don't see me, do what you want to do to me more Do nothing I just have to go here and your Where in Terraform Where did we go in Maine? find Prometheus Do you see it somewhere Prometheus's Terraform It So what do you have to do in advance? You just need to uncomment this part. Brother and this much part is for not commenting Just fill out the application form and that's it. Monitoring and Observability will also be enabled, friends. That's the beautiful part of having infrastructure s code. Because your The infrastructure is in place. All the connections are in place. I'm done. You just have to apply. And I Nothing much has changed. What have I done? Enabled Cubantis Prometheus Tag and put it in the namespace. That's it. I have a copy of this thing. package modules were available so he I turned it on. Okay? He'll do it himself. OK? Done. Modern Microservices You get the idea about architecture patterns. Deployment Strategies Video I I'll link it to you. You can check it out. Gitops Edge A Deployment Methodology You Understand How does production work? EKS Management you see. End to End You've seen the DevOps workflow. I've Viewed YouTube channel analytics and I realized that more than 60% of the people who Watching one shot videos which are available on this channel learning from, they just subscribed It hasn't been done. So our 1.5 lakh Subscribers have been added recently. And 60% of the population has subscribed. You haven't already. So when you subscribe You do, when you like, when you share If you do it, I get the motivation to do it. Peacock. So I want all of you to Share the video with your friends. Tag me on Lindin and as soon as this If the video gets 1000 likes, I will I'll launch the next part. I teach live. I'm cool. Things are happening right in front of you. Sorry to interrupt. But friends, you People did not give any motivation. Didn't subscribe, didn't like either. Did not comment, did not share You do it. You read it alone and leave. Yes. You don't want to do that. So quickly watch this video. Reach as many people as possible. To stay in the video till here Thank you. All your resources. are in the description box. Projects, Code, samples, and a little hard work. You will have to subscribe to this Like the video and share it with your friends to reach. Even in the video Thanks for staying tuned. Stay tuned. Train vs Shivam channel. Thanks for watching. |