io.net 백서

io.net

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 31쪽 중 7쪽

=1Gi ``` </Accordion> <Accordion title="Debug Commands" icon="circle-exclamation"> ```bash theme={null} # Get all ingress-related resources kubectl get all,ingress,certificates -n ingress-nginx kubectl get all,ingress,certificates -n your-app-namespace # Test connectivity kubectl run test-pod --image=busybox --rm -it -- sh # Inside pod: wget -O- http://your-service.namespace.svc.cluster.local ``` </Accordion> </AccordionGroup> # ExternalDNS Deployment Guide Source: https://io.net/docs/guides/clouds/kubernetes/externaldns-guide Learn how to deploy ExternalDNS to automate DNS record management for Kubernetes ingress controllers, including Deployment-based and DaemonSet-based ingress setups. *ExternalDNS* automatically manages DNS records for applications exposed through your ingress controller. Configuration depends on whether the ingress controller is deployed as a [Deployment (Option 1)](https://io.net/docs/guides/clouds/kubernetes/exposing-to-the-internet#option-1) or a [DaemonSet (Option 2)](https://io.net/docs/guides/clouds/kubernetes/exposing-to-the-internet#option-2). **Popular DNS providers:** Cloudflare, Route 53, Google Cloud DNS, DigitalOcean, Vultr, etc. <Steps> <Step title="Deploy ExternalDNS"> Choose one of the following examples based on your DNS provide: **Example for Cloudflare with API Token (Recommended)** <Note> API tokens are more secure than API keys as they can be scoped to specific zones and permissions. </Note> <Expandable title="Example"> ```bash theme={null} kubectl create namespace external-dns kubectl create secret generic cloudflare-api-token -n external-dns --from-literal=apiToken=YOUR_API_TOKEN helm repo add external-dns https://kubernetes-sigs.github.io/external-dns/ helm repo update helm upgrade --install external-dns external-dns/external-dns \ --namespace external-dns \ --set txtOwnerId=mycluster \ --set provider.name=cloudflare \ --set 'env[0].name=CF_API_TOKEN' \ --set 'env[0].valueFrom.secretKeyRef.name=cloudflare-api-token' \ --set 'env[0].valueFrom.secretKeyRef.key=apiToken' ``` </Expandable> **Example for Cloudflare with API Key** Reference: [https://kubernetes-sigs.github.io/external-dns/latest/docs/tutorials/cloudflare/](https://kubernetes-sigs.github.io/external-dns/latest/docs/tutorials/cloudflare/) <Expandable title="Example"> ```bash theme={null} kubectl create namespace external-dns kubectl create secret generic cloudflare-api-key -n external-dns --from-literal=apiKey=YOUR_API_KEY --from-literal=email=YOUR_CLOUDFLARE_EMAIL helm repo add external-dns https://kubernetes-sigs.github.io/external-dns/ helm repo update helm upgrade --install external-dns external-dns/external-dns \ --namespace external-dns \ --set txtOwnerId=mycluster \ --set provider.name=cloudflare \ --set 'env[0].name=CF_API_KEY' \ --set 'env[0].valueFrom.secretKeyRef.name=cloudflare-api-key' \ --set 'env[0].valueFrom.secretKeyRef.key=apiKey' \ --set 'env[1].name=CF_API_EMAIL' \ --set 'env[1].valueFrom.secretKeyRef.name=cloudflare-api-key' \ --set 'env[1].valueFrom.secretKeyRef.key=email' ``` </Expandable> <Note> By default, *ExternalDNS* runs with the `upsert-only` policy, which allows it to create and update DNS records but not delete them. To enable record deletion, change the policy to `sync`. `--set policy=sync` </Note> </Step> <Step title="Annotate the Ingress Controller Service"> The annotations you need depend on which ingress controller option you chose. **Option 1 (Deployment with the LoadBalancer Service)** ```bash theme={null} kubectl annotate svc ingress-nginx-controller \ -n ingress-nginx \ external-dns.alpha.kubernetes.io/hostname="*.example.com" ``` * Wildcard domains simplify DNS management for multiple applications. * Eliminates the need to annotate each Ingress resource individually. * DNS records are automatically updated when the Service’s `externalIPs` change. * ExternalDNS monitors the LoadBalancer Service and creates DNS **A** records that point to the configured `externalIPs`. **Option 2 (DaemonSet with hostNetwork)** ```bash theme={null} kubectl annotate svc ingress-nginx-controller \ -n ingress-nginx \ external-dns.alpha.kubernetes.io/hostname="*.example.com" \ external-dns.alpha.kubernetes.io/endpoints-type=NodeExternalIP ``` * The `endpoints-type=NodeExternalIP` annotation instructs *ExternalDNS* to use the external IPs of nodes where the DaemonSet pods are running. * This results in DNS **A** records pointing to the external IPs of all worker nodes. * DNS records are automatically updated as nodes are added to, or removed from, the cluster. </Step> </Steps> <Tip> For an end-to-end HTTPS application example, refer to [Quick Start: Hello World with HTTPS](/docs/guides/clouds/kubernetes/quick-start). </Tip> # Optimizations Source: https://io.net/docs/guides/clouds/kubernetes/optimizations Explore Kubernetes optimizations on io.net Cloud, including Kubernetes control plane design, minimal GPU cluster sizing, and master node scheduling best practices. This section explains several infrastructure design decisions and provides guidance on how to optimize your Kubernetes cluster for performance and reliability. ## Control Plane Architecture By default, a Kubernetes cluster is provisioned with **three CPU-only master (control plane) nodes** running in a **separate cloud environment** from your worker nodes. ### Why this design was chosen? This architecture enables two key benefits: * **Minimum cluster size of one GPU VM:** You can create a functional Kubernetes cluster with just a single GPU Virtual Machine, avoiding the cost of running multiple GPU nodes purely for control plane redundancy. * **Improved fault tolerance without extra GPU cost:** Running three dedicated CPU-only master nodes provides higher availability for the control plane without requiring two or more expensive GPU VMs per cluster. ## Untainted Master Nodes By default, **master nodes are not tainted**. This means Kubernetes may schedule your workloads (pods) onto master nodes in the control plane cloud. ### Why master nodes are not tainted by default * Reduce cluster creation time * Allow clusters to become usable immediately without additional configuration. ## Avoid Running Pods on Master Nodes Running application pods on master nodes can lead to several issues, such as: * **Risk to control plane stability:** Application workloads may interfere with critical Kubernetes components responsible for scheduling, networking, and cluster orchestration. * **Increased latency:** Because master nodes run in a separate cloud, communication between services may experience higher latency when one service runs on a master node and another runs on a worker node. ## Recommended Optimisation - Taint Master Nodes To prevent pods from being scheduled on master nodes, apply a taint to all control plane nodes. Run the following command: ```bash theme={null} kubectl taint nodes -l node-role.kubernetes.io/control-plane node-role.kubernetes.io/control-plane=:NoSchedule ``` ### What this does * Prevents application pods from being scheduled on master nodes. * Ensures master nodes are reserved exclusively for control plane workloads. * Improves performance isolation and overall cluster reliability. # Quick Start: Hello World with HTTPS Source: https://io.net/docs/guides/clouds/kubernetes/quick-start Deploy a Kubernetes Hello World application with HTTPS using Ingress, ExternalDNS, and cert-manager, and expose it securely to the internet step by step. This walkthrough demonstrates how to deploy a simple application and expose it securely to the internet using Kubernetes Ingress. It brings together the components such as, [Ingress routing](/docs/guides/clouds/kubernetes/exposing-to-the-internet), [ExternalDNS for DNS management](/docs/guides/clouds/kubernetes/externaldns-guide), and [cert-manager for automated TLS certificates](https://io.net/docs/guides/clouds/kubernetes/exposing-to-the-internet#ssl%2Ftls-certificate-management), to deliver a working **HTTPS-enabled** application from start to finish. <Steps> <Step title="Deploy the Application"> ```bash theme={null} kubectl create namespace hello kubectl run hello-world \ --image=k8s.gcr.io/echoserver:1.10 \ --port=8080 \ -n hello ``` </Step> <Step title="Expose the Application with a Service"> ```bash theme={null} kubectl expose pod hello-world \ --type=ClusterIP \ --port=80 \ --target-port=8080 \ -n hello ``` </Step> <Step title="Create an Ingress Resource with HTTPS"> ```yaml theme={null} cat <<EOF | kubectl apply -f - apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: hello-ingress namespace: hello annotations: cert-manager.io/cluster-issuer: "letsencrypt-prod" nginx.ingress.kubernetes.io/ssl-redirect: "true" spec: ingressClassName: nginx tls: - hosts: - app.example.com secretName: hello-tls rules: - host: app.example.com http: paths: - path: / pathType: Prefix backend: service: name: hello-world port: number: 80 EOF ``` </Step> <Step title="Test the Application"> * ExternalDNS automatically manages DNS records when the ingress controller Service is annotated, though synchronization may take a few minutes. * Verify that your domain points to the ingress controller’s public IP address(es). * Open `https://app.example.com/` in a browser to confirm the application is reachable and displaying “Hello World”. </Step> </Steps> For additional examples, troubleshooting guidance, or clarification on any topics covered in this guide, refer to the resources below: * [Exposing Applications to the Internet](/docs/guides/clouds/kubernetes/exposing-to-the-internet) * [ExternalDNS Deployment Guide](/docs/guides/clouds/kubernetes/externaldns-guide) * [Optimizations](/docs/guides/clouds/kubernetes/optimizations) # Managed Services Source: https://io.net/docs/guides/clouds/managed-services Request Bare Metal, Kubernetes, Ray, and Confidential Compute clusters provisioned and configured by the io.net team. Managed Services cover the cluster types that io.net provisions and configures for you, rather than deploying them yourself from IO Cloud. Our specialists size the cluster, set it up to your specifications, and hand it over ready to use. The following cluster types are available as Managed Services: * **Bare Metal:** Direct access to physical hardware with no virtualization layer. * **Kubernetes:** A managed Kubernetes cluster for orchestrating GPU-accelerated container workloads. * **Ray:** A managed Ray cluster for distributed Python, training, and inference workloads. * **Confidential Compute:** VMs encrypted with Intel TDX or AMD SEV-SNP, on NVIDIA GPUs running in Confidential Computing mode, keeping your data, model weights, and computations protected while in use. <Info> Self-service deployment for these cluster types is no longer available. Bare Metal on Demand was withdrawn on Wednesday, October 1, 2025. Virtual Machines and Containers remain self-service from IO Cloud. </Info> ### To request a Managed Service: 1. Email our sales team at [business@io.net](mailto:business@io.net). Mention which cluster type you need and your preferred GPU type, and provide basic project details. <Note> Our specialists will reach out to understand your needs and assist with configuring the cluster to your specifications. </Note> 2. Once your cluster is provisioned, connect to it and deploy your workloads as usual. To view detailed instructions for working with your cluster, see: * **Kubernetes:** [Quick Start: Hello World with HTTPS](/docs/guides/clouds/kubernetes/quick-start), [Ingress Setup](/docs/guides/clouds/kubernetes-ingress-setup), [Exposing Applications to the Internet](/docs/guides/clouds/kubernetes/exposing-to-the-internet), [ExternalDNS Deployment Guide](/docs/guides/clouds/kubernetes/externaldns-guide), and [Optimizations](/docs/guides/clouds/kubernetes/optimizations). * **Confidential Compute:** [Confidential Compute](/docs/guides/clouds/confidential-compute-overview) and [Confidential Compute Attestation](/docs/guides/clouds/confidential-compute-attestation-overview). # Monitor & Manage Clusters Source: https://io.net/docs/guides/clouds/monitor-manage-clusters Manage Clusters offers a comprehensive interface for configuring and monitoring GPU and CPU clusters, enabling users to optimize resource allocation and performance. With advanced management tools, users can efficiently deploy workloads, scale resources, and gain real-time insights into cluster health and utilization. To access the dashboard, log into [io.net](http://io.net) and select **Manager Clusters**. ## View Your Cluster To see all the details about your cluster, click on it in the **Cluster** tab. The screenshot below highlights what you can expect to see in a hired, active cluster. <Frame> <img alt="" /> </Frame> #### Clusters Tab The **Clusters** tab provides a quick overview of all your clusters, both active and inactive. #### Sort Clusters Use the sorting options to find the cluster you're looking for easily. Sort by status (**Running, Completed, Failed, Destroyed**) or search by keyword. <img alt="Monitor2 Pn" title="Monitor2 Pn" /> ## Cluster Management Actions These actions can be done if a cluster is currently running. #### Terminate Cluster Click **Terminate Cluster** in the bottom right to end your session. <img alt="Monitor3 Pn" title="Monitor3 Pn" /> #### Extend Cluster To keep your cluster active for longer, simply click **Extend Cluster**. You'll be charged the same amount as your original transaction. <img alt="Monitor4 Pn" title="Monitor4 Pn" /> ## Actions A completed cluster provides the option to archive the cluster. Click **Archive** in the bottom right to archive this cluster. **Run Jobs and Monitor Your Cluster** Ready to start working on your cluster? You can run your jobs using either Visual Studio or Jupyter Notebook. The Ray Dashboard lets you manage and monitor everything, including your cluster and running jobs. On your cluster's details page, grab the **IDE Password**, and then click on **Jupyter Notebook**, **Visual Studio**, or the **Ray Dashboard** to get started <Frame> <img alt="" /> </Frame> To access your application, enter the **IDE Password**. <Warning> Once your cluster's time expires, you'll lose access to the IDEs and the Ray Dashboard. </Warning> #### Archive a Cluster Once a cluster is complete, you can archive it. Click **Archive** at the bottom right to archive a cluster. > 🚧 You can’t renew a cluster after it’s completed. ## Cluster Information Click on a cluster in the **Cluster** tab to view the details associated with the cluster. In the screenshot below, a completed cluster has been selected. <Frame> <img alt="" /> </Frame> ## Monitor the following on the right: | Action | Description | | - | - | | **Compute Hours** | Shows how long a single instance has been running and consuming resources. Includes “Served” and “Remaining” times. | | **Funds Used or Refunded** | The amount you've spent or had refunded for cluster operations. | | **Connectivity Tier** | Your chosen level of connectivity for the cluster (download / upload speeds). | | **Security Compliance** | The selected security setting (e.g. end-to-end encryption). | | **Locations** | Geographic location(s) where your GPUs are located. | <Frame> <img alt="" /> </Frame> ## Monitor the following on the left: | Action | Definition | | - | - | | **All Workers** | Allows you to filter the view by selecting different groups of workers. This option is currently set to show all workers in the cluster. | | **\[#] Workers** | Indicates that the dashboard currently shows four workers in the cluster that are active or relevant to the task being monitored. The panel below labels these workers as "IO Worker 1," "IO Worker 2," and so on. | | **\[#] GPUs** | Shows that there are 4 GPUs (Graphics Processing Units) in use across the cluster. Each worker seems to have one GPU assigned to it, as indicated by the details in each worker's panel. | | **Search** | The search bar allows you to quickly find specific workers, GPUs, or tasks by searching based on keywords, worker names, device IDs, or other identifiers. | ## Detailed information for each worker | Feature | Description | | - | - | | Decentralized Network | IO Cloud uses a network of computers (called "IO workers") to create powerful GPU clusters. This means you're not relying on a single company for your computing power. | | Self-healing | If one part of the cluster has issues, the others automatically take over, keeping your projects running smoothly. | | Easy to Use | You can easily run your AI projects using Python code, just like on any other cloud platform. | | Built on Industry-leading Technology | IO Cloud is powered by the same technology used by OpenAI to train its powerful AI models, such as GPT-3 and GPT-4. | <Frame> <img alt="" /> </Frame> ## Selecting a worker shows you the following | Feature | Description | | - | - | | Worker Name and Status | Indicates the worker's status, such as **Completed**, **Running**, **Pending**, or **Failed**. A green dot signifies successful completion. | | Device ID | The unique identifier for the specific GPU device in the worker node. | | GPU Information | **GeForce RTX 3060 Ti** (GPU type): Each worker is equipped with an NVIDIA GeForce RTX 3060 Ti GPU. **x1**: Number of GPUs utilized (in this case, one unit). **Uptime in Cluster**: Displays uptime, showing that the worker has been fully operational without downtime for the monitored period. | | Activity Consistency Status Bar | A visual representation of the worker’s uptime, consisting of 10 white squares filled in to indicate 100% uptime. | <img alt="Monitor9 Pn" title="Monitor9 Pn" /> # Overview Source: https://io.net/docs/guides/clouds/start-using-io-cloud Discover the simple steps for creating, configuring, deploying, and managing clusters, giving you complete control over your computing power. ## Introduction IO Cloud enables the deployment and management of on-demand, decentralized GPU clusters, giving users access to powerful GPU resources without significant hardware investments or the complexity of managing infrastructure. IO Cloud democratizes GPU access by leveraging a decentralized model, providing machine learning engineers and developers with the same seamless experience as traditional cloud providers. The platform utilizes a distributed network of nodes, IO workers, to offer flexible, scalable compute resources. IO Cloud clusters are self-healing, fully meshed GPU systems that ensure high availability and fault tolerance. With IO Cloud, you can tap into a decentralized network of GPUs and CPUs capable of running Python-based machine learning workloads. It is ideal for AI projects requiring distributed compute. The platform is natively built on the Ray framework, the same distributed computing technology used by OpenAI to train models like GPT-3 and GPT-4 across hundreds of thousands of servers. <iframe title="Start Using IO Cloud: Your First Steps Explained" /> ## IO Clouds Integration Flow The diagram below provides a high-level overview of how users integrate with IO Cloud - from choosing a compute resource to launching AI workloads. It illustrates the end-to-end flow across key components, including cluster selection, container deployment, and runtime execution. <Frame> <img alt="" /> </Frame> ## Create Account To create an account, go to [cloud.io.net](https://cloud.io.net/cloud/home) using Google, Apple ID, GitHub, Hugging Face, X, Worldcoin, or simply with a one-time password by clicking the "Login with Email" button. <img alt="Newlogin1 Jp" /> #### Payments IO Cloud simplifies the process of paying for GPU clusters by offering two convenient payment methods: * **Solana:** This cryptocurrency opt
프로젝트로 돌아가기