PHP K8s
Github Repo
2.x
2.x
  • 🚢Introduction
  • 🎉Support
  • Getting Started
    • 🚀Installation
    • 🙌Showcase
    • 🔒Authentication
    • 📗Default Versions
  • Cluster Interaction
    • 🧭Getting Started
    • 🎭CRUD Operations
    • 📦Import from YAML
    • 👀Watching Resources
  • Resources
    • 👓Base Resource
      • Attributes Methods
      • Metadata Methods
      • Custom Callers
    • 🧑Namespace
    • 🖥️Node
    • 📡Event
    • 📦Workloads
      • Pod
      • Deployment
      • StatefulSet
      • DaemonSet
      • Job
      • CronJob
    • 🧵Configurations
      • ConfigMap
      • Secret
    • 📀Storage
      • StorageClass
      • PersistentVolume
      • PersistentVolumeClaim
    • 📶Networking
      • Service
      • Ingress
    • ↔️Scaling & Availability
      • HorizontalPodAutoscaler
      • PodDisruptionBudget
    • 🔑RBAC
      • ClusterRole
      • ClusterRoleBinding
      • Role
      • RoleBinding
      • ServiceAccount
  • Instances
    • Affinity
    • Container
    • Container Probes
    • Expressions
    • Resource Metrics
    • RBAC Rules
    • Volumes
  • Advanced
    • 🏰Macros
    • ✨Create classes for CRDs
      • 🎇Getting started
      • 🏰Macros
      • 👀Watchable Resources
      • ↔️Scalable Resources
      • 💊Podable Resources
      • 📄Loggable Resources
      • 🚒Helper Traits
  • Frameworks
    • Laravel
    • PHP Helm
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Resources

🖥️Node

Default version: v1

  • Official Documentation

Example

$nodes = $this->cluster
    ->node()
    ->all();

foreach ($nodes as $node) {
    $node->getInfo();
    $node->getImages();
    $node->getCapacity();
    $node->getAllocatableInfo();
}
PreviousNamespaceNextEvent

Last updated 3 years ago

Was this helpful?