Giter Club home page Giter Club logo

Comments (3)

cgascoig avatar cgascoig commented on September 28, 2024 3

Added in v0.1.9

❯ isctl get kubernetes version --name 1.21.10-iks.0 --expand 'OvaImageTemplate($select=Name)'
INFO[0001] Single result, falling back to vertical output. NOTE: this is not valid YAML; use --output yaml to get valid YAML.
BootIso: null
Catalog: MoRef[kubernetes.Catalog/60627c1f7a6f722d30785b23]
KubernetesVersion: v1.21.10
Moid: 623d0cf97a6f722d30c29fcd
Name: 1.21.10-iks.0
OvaImageTemplate:
  ClassId: software.SolutionDistributable
  Moid: 623d069b6567612d31935f2a
  Name: ki-20220315-0-1.21.10-ubuntu20-iks-vsphere.ova
  ObjectType: software.SolutionDistributable
Qcow2NodeTemplate: null
Qcow2VirtualMachineTemplate: MoRef[software.SolutionDistributable/623d01606567612d3192f8f0]

from isctl.

baelen-git avatar baelen-git commented on September 28, 2024 1

You are fantastic! Tried this out and works like a charm.
Even works with nested $expands.

❯ isctl get kubernetes clusterprofile -o yaml --select 'Name,NodeGroups' --expand 'NodeGroups($select=KubernetesVersion;$expand=KubernetesVersion($select=Version;$expand=Version($select=Name,Tags)))' | egrep -v "ObjectType|ClassId"
  Moid: 61af52617a6f722d31bd3d84
  Name: baelen-azure-arc
  NodeGroups:
    KubernetesVersion:
      Moid: 61f3bc387a6f722d31a3090a
      Version:
        Moid: 61f381e17a6f722d3093c093
        Name: 1.20.14-iks.0
        Tags:
        - Key: intersight.kubernetes.SupportStatus
          Value: UpgradeRequired
    Moid: 61af55bb7a6f722d31bdada4
    KubernetesVersion:
      Moid: 61f3bc387a6f722d31a3090a
      Version:
        Moid: 61f381e17a6f722d3093c093
        Name: 1.20.14-iks.0
        Tags:
        - Key: intersight.kubernetes.SupportStatus
          Value: UpgradeRequired
    Moid: 61af55cc7a6f722d31bdaf58

from isctl.

cgascoig avatar cgascoig commented on September 28, 2024

Good suggestion. This might make sense along with or instead of #7.

from isctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.