Sitelet https://web.archive.org/web/20201002104407/https://github.com/fission/fission/issues/1668
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubectl Explain should give information for Fission CRDs #1668

Open
vishal-biyani opened this issue Jul 19, 2020 · 2 comments
Open

Kubectl Explain should give information for Fission CRDs #1668

vishal-biyani opened this issue Jul 19, 2020 · 2 comments

Comments

@vishal-biyani
Copy link
Member

@vishal-biyani vishal-biyani commented Jul 19, 2020

Kubectl explains is useful for a Fission user to write function specs especially but it does not give any information as of now.

$ kubectl explain functions -ndefault
KIND:     Function
VERSION:  fission.io/v1

DESCRIPTION:
     <empty>

It should look something similar to:

$ kubectl explain pod.spec
KIND:     Pod
VERSION:  v1

RESOURCE: spec <Object>

DESCRIPTION:
     Specification of the desired behavior of the pod. More info:
     https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

     PodSpec is a description of a pod.

FIELDS:
   activeDeadlineSeconds	<integer>
     Optional duration in seconds the pod may be active on the node relative to
     StartTime before the system will actively try to mark it failed and kill
     associated containers. Value must be a positive integer.
@mathagician
Copy link

@mathagician mathagician commented Oct 1, 2020

@vishal-biyani Is this opened? If yes, please assign to me.

@vishal-biyani
Copy link
Member Author

@vishal-biyani vishal-biyani commented Oct 1, 2020

Hey @mathagician This is done for Functions and environments so far and you can do same for other objects in Fission, you can check this PR for inspiration: #1711

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.