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

Added new gen-install-alpha command #1673

Merged
merged 2 commits into from
Jul 14, 2020

Conversation

akremsa
Copy link
Contributor

@akremsa akremsa commented Jul 2, 2020

What type of PR is this?

/kind feature

What this PR does / Why we need it:
There is a remark in Agones Community Meeting Working Doc about turning on Alpha features via YAML.

I've added a new command which allows us to achieve that.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: a9b853d4-9f0b-4e0e-a431-1747591f67f5

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@aLekSer
Copy link
Collaborator

aLekSer commented Jul 2, 2020

Golang SDK conformance test failed:

closing agones SDK
{"message":"shutting down sdk server","severity":"info","source":"main","time":"2020-07-02T13:37:39.670285918Z"}
{"message":"Could not find a request which was expected","request":"ready","sdkName":"go","severity":"error","source":"*sdkserver.LocalSDKServer","time":"2020-07-02T13:37:39.670405518Z"}
{"expected":["ready","allocate","setlabel","setannotation","gameserver","health","shutdown","watch","reserve"],"message":"Testing Failed","received":[],"sdkName":"go","severity":"info","source":"*sdkserver.LocalSDKServer","time":"2020-07-02T13:37:39.670440464Z"}
includes/sdk.mk:145: recipe for target 'run-sdk-conformance-no-build' failed
includes/sdk.mk:152: recipe for target 'run-sdk-conformance-test' failed
make[2]: *** [run-sdk-conformance-no-build] Error 1
make[1]: *** [run-sdk-conformance-test] Error 2
includes/sdk.mk:162: recipe for target 'run-sdk-conformance-test-go' failed

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 76d93fcb-1792-4d9e-8508-268136ac7a10

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1673/head:pr_1673 && git checkout pr_1673
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.7.0-44417e1

@markmandel markmandel added the feature-freeze-do-not-merge Only eligible to be merged once we are out of feature freeze (next full release) label Jul 6, 2020
@markmandel
Copy link
Member

Question:
Rather than generating each permutation of index.yaml that could exist - should we instead document how you can use helm to generate your own index.yaml if one so desires?

WDYT?

@akremsa
Copy link
Contributor Author

akremsa commented Jul 7, 2020

We discussed this option with @aLekSer as well but decided to add another one file, just to start this discussion at least. Alexander, what is your opinion?

@aLekSer
Copy link
Collaborator

aLekSer commented Jul 7, 2020

Well, an idea behind was to add a pre-generated yaml file with all Alpha features enabled for those guys who don't like dealing with helm.
I like your idea to gave users clear instructions on how to use helm template agones-manual and this could be taken even further by saying on agones.dev:

These parts of install.yaml could be edited as long as they conform with the following table https://agones.dev/site/docs/installation/install-agones/helm/#configuration:
        - name: MIN_PORT
          value: "7000"
        - name: FEATURE_GATES
          value: ""

@markmandel markmandel removed the feature-freeze-do-not-merge Only eligible to be merged once we are out of feature freeze (next full release) label Jul 7, 2020
@markmandel
Copy link
Member

Yeah, doing both helm template instructions, and also where to update Feature flags is a good idea.

Although that does mean that if we change places that feature flags occur in the index.yaml we need to remember to update them - so maybe we don't want to do that, and just do the helm template?

@aLekSer
Copy link
Collaborator

aLekSer commented Jul 13, 2020

Those 3 commands could do the job, but I am not sure what metadata is needed:

 helm3 pull --untar https://agones.dev/chart/stable/agones-1.7.0-rc.tgz 
cd agones
 helm3 template ./templates  --namespace agones-system --set agones.controller.generateTLS=false 
Error: validation: chart.metadata is required

Using this as a starting point https://www.padok.fr/en/blog/helm-3-commands

@akremsa
Copy link
Contributor Author

akremsa commented Jul 13, 2020

@aLekSer, thanks for the tip.
I decided to update this PR rather than creating a new one in order to keep a discussion history here.
@markmandel, please check.

@akremsa
Copy link
Contributor Author

akremsa commented Jul 13, 2020

Result:
image

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: c51839df-4259-4704-89e8-284e0354567a

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 836647f4-ce6c-4695-b085-79e896f8fd3d

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1673/head:pr_1673 && git checkout pr_1673
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.8.0-9dad1cb

Copy link
Collaborator

@aLekSer aLekSer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this version is quite readable and easy to use by the users. Please update following the small comments.

@akremsa
Copy link
Contributor Author

akremsa commented Jul 14, 2020

@aLekSer thanks for the notes, PR is updated.

@agones-bot
Copy link
Collaborator

Build Failed 😱

Build Id: a72e1e3d-c3a3-418d-a3f6-d71ed4d05628

To get permission to view the Cloud Build view, join the agones-discuss Google Group.

@markmandel
Copy link
Member

Looks like you'll need gen the api docs 👍

includes/website.mk:98: recipe for target 'test-gen-api-docs' failed

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: ad374dca-be21-494e-a383-76d2ce76b725

The following development artifacts have been built, and will exist for the next 30 days:

A preview of the website (the last 30 builds are retained):

To install this version:

  • git fetch https://github.com/googleforgames/agones.git pull/1673/head:pr_1673 && git checkout pr_1673
  • helm install ./install/helm/agones --namespace agones-system --name agones --set agones.image.tag=1.8.0-e6cd76f

Copy link
Member

@markmandel markmandel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: akremsa, aLekSer, markmandel

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@markmandel markmandel added kind/documentation Documentation for Agones kind/feature New features for Agones labels Jul 14, 2020
@markmandel markmandel added this to the 1.8.0 milestone Jul 14, 2020
@markmandel markmandel merged commit c97864f into googleforgames:master Jul 14, 2020
ilkercelikyilmaz pushed a commit to ilkercelikyilmaz/agones that referenced this pull request Oct 23, 2020
* Described how to add parameters to yaml using helm
* added crd api reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants