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

Migrate site content: overview and installation #4611

Merged
merged 1 commit into from
Jun 1, 2022
Merged

Migrate site content: overview and installation #4611

merged 1 commit into from
Jun 1, 2022

Conversation

unrolled
Copy link
Contributor

This PR is part of the larger docs clean up issue: #4338

  • Moved the installation docs from here into site/content/en/docs/Getting started/installation.md. I merged all the installation instructions onto a single page as I felt the 5 sections didn't have enough content to justify their own pages. Let me know if I should break them out into separate pages.
  • Moved the kustomize introduction from here into site/content/en/docs/Overview/_index.md.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Apr 27, 2022
@k8s-ci-robot
Copy link
Contributor

Hi @unrolled. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 27, 2022
@k8s-ci-robot k8s-ci-robot requested review from KnVerey and yuwenma April 27, 2022 17:06
Copy link
Contributor

@KnVerey KnVerey left a comment

Choose a reason for hiding this comment

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

Doesn't need to be in this PR, but I noticed two small things about this group of pages.

  1. There's a placeholder page at "Documentation" subheader. kubernetes.io drops that header, so I'd say we should too.

  1. The subheading on the "Getting Started" page is still the boilerplate.

Note that the "Creating your first Kustomization" tutorial is net new, so you can propose changes to it if you have feedback, but you won't find additional content for it on the old site.

@@ -4,94 +4,102 @@ linkTitle: "Install Kustomize"
date: 2022-02-27
weight: 10
description: >
Installing Kustomize
Kustomize can be installed in a variety of ways
Copy link
Contributor

Choose a reason for hiding this comment

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

This page was already migrated over in the initial scaffolding. Looks like this PR mostly reorders the sections? Why's that? I think we should order them based on utility to the average end user, so probably Binaries, then package managers, then Docker, then source?

Copy link
Contributor Author

@unrolled unrolled May 11, 2022

Choose a reason for hiding this comment

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

I wasn't sure if the existing page was up-to-date or not, so I just grabbed all the content from the CLI site and moved it over. I'll tweak the ordering 👍

site/content/en/docs/Getting started/installation.md Outdated Show resolved Hide resolved
site/content/en/docs/Getting started/installation.md Outdated Show resolved Hide resolved
# Need go 1.13 or higher
unset GOPATH
# see https://golang.org/doc/go1.13#modules
unset GO111MODULES
Copy link
Contributor

Choose a reason for hiding this comment

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

delete from the "Need go" comment to here

site/content/en/docs/Getting started/installation.md Outdated Show resolved Hide resolved
site/content/en/docs/Getting started/installation.md Outdated Show resolved Hide resolved
site/content/en/docs/Getting started/installation.md Outdated Show resolved Hide resolved
@KnVerey
Copy link
Contributor

KnVerey commented May 9, 2022

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 9, 2022
@k8s-ci-robot
Copy link
Contributor

@unrolled: This PR has multiple commits, and the default merge method is: merge.
You can request commits to be squashed using the label: tide/merge-method-squash

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

site/config.toml Outdated
@@ -95,6 +95,8 @@ weight = 1
copyright_k8s = "The Kubernetes Authors"
copyright_linux = "Copyright © 2020 The Linux Foundation ®."

latest_version = "v4.5.4"
Copy link
Contributor

Choose a reason for hiding this comment

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

I like this, but I'm worried it will immediately get stale. Options include:

  • Change the name to something like "kustomize_example_version" to not imply it is necessarily the most current
  • Update the release process to include bumping this. We already have a step here where we update a hardcoded string to make the example tests run against latest. If we were embedding those examples in the site (someday 🤞 ), it could make a lot of sense to sync that version with the one we advertise on the site. We could add a makefile target that does both, and update the release instructions to use that instead.

Wdyt?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I like the idea of option 2 where we bump it during every release, but I don't think the site is ready for that yet. In the future when the site is complete we can come back and revisit this.

For now I'll change the name of the value to kustomize_example_version which is a good call! Less confusion if it strays from the official latest release.

@KnVerey
Copy link
Contributor

KnVerey commented Jun 1, 2022

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 1, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: KnVerey, unrolled

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 1, 2022
@k8s-ci-robot k8s-ci-robot merged commit 78191b4 into kubernetes-sigs:master Jun 1, 2022
@unrolled unrolled deleted the unrolled-4338-overview-and-installation branch June 17, 2022 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants