mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 12:18:16 +00:00 
			
		
		
		
	Update the devel docs with where and how to change the go version being used to
build and test k8s. Signed-off-by: Jess Frazelle <me@jessfraz.com>
This commit is contained in:
		
				
					committed by
					
						
						Jess Frazelle
					
				
			
			
				
	
			
			
			
						parent
						
							27bb99d41e
						
					
				
				
					commit
					9f88eaf9eb
				
			@@ -88,6 +88,21 @@ To build binaries for all platforms:
 | 
				
			|||||||
        make cross
 | 
					        make cross
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### How to update the Go version used to test & build k8s
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					The kubernetes project tries to stay on the latest version of Go so it can
 | 
				
			||||||
 | 
					benefit from the improvements to the language over time and can easily
 | 
				
			||||||
 | 
					bump to a minor release version for security updates.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Since kubernetes is mostly built and tested in containers, there are a few
 | 
				
			||||||
 | 
					unique places you need to update the go version.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- The image for cross compiling in [build/build-image/cross/](../../build/build-image/cross/). The `VERSION` file and `Dockerfile`.
 | 
				
			||||||
 | 
					- The jenkins test-image in
 | 
				
			||||||
 | 
					  [hack/jenkins/test-image/](../../hack/jenkins/test-image/). The `Dockerfile` and `Makefile`.
 | 
				
			||||||
 | 
					- The docker image being run in [hack/jenkins/dockerized-e2e-runner.sh](../../hack/jenkins/dockerized-e2e-runner.sh) and [hack/jenkins/gotest-dockerized.sh](../../hack/jenkins/gotest-dockerized.sh).
 | 
				
			||||||
 | 
					- The cross tag `KUBE_BUILD_IMAGE_CROSS_TAG` in [build/common.sh](../../build/common.sh)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Workflow
 | 
					## Workflow
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Below, we outline one of the more common git workflows that core developers use.
 | 
					Below, we outline one of the more common git workflows that core developers use.
 | 
				
			||||||
@@ -339,6 +354,8 @@ hack/update-generated-docs.sh
 | 
				
			|||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
 | 
					<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
 | 
				
			||||||
[]()
 | 
					[]()
 | 
				
			||||||
<!-- END MUNGE: GENERATED_ANALYTICS -->
 | 
					<!-- END MUNGE: GENERATED_ANALYTICS -->
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -36,6 +36,8 @@ and tips that our developers have found useful.
 | 
				
			|||||||
## Recommended Reading
 | 
					## Recommended Reading
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- [Kubernetes Go development environment](development.md#go-development-environment)
 | 
					- [Kubernetes Go development environment](development.md#go-development-environment)
 | 
				
			||||||
 | 
					- [The Go Spec](https://golang.org/ref/spec) - The Go Programming Language
 | 
				
			||||||
 | 
					  Specification.
 | 
				
			||||||
- [Go Tour](https://tour.golang.org/welcome/2) - Official Go tutorial.
 | 
					- [Go Tour](https://tour.golang.org/welcome/2) - Official Go tutorial.
 | 
				
			||||||
- [Effective Go](https://golang.org/doc/effective_go.html) - A good collection of Go advice.
 | 
					- [Effective Go](https://golang.org/doc/effective_go.html) - A good collection of Go advice.
 | 
				
			||||||
- [Kubernetes Code conventions](coding-conventions.md) - Style guide for Kubernetes code.
 | 
					- [Kubernetes Code conventions](coding-conventions.md) - Style guide for Kubernetes code.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user