Skip to content

Get the Node Status while it is being created #1319

Description

@bthshariff

I am trying to retrieve the Kubernetes Node Status While it is being created.

var node = client.CoreV1.ListNode().Items.First();
foreach(var nodeStatus in node.Status.Conditions) {
    Console.WriteLine("{0} - {1}", nodeStatus.Type, nodeStatus.Status);
}

It was displaying the node type as : "Ready" and status as: "True". But I also want to know when the node is being created. The above foreach loop is not displaying the node status while it is being Created. Any help would be appreciated. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions