Comments (1)
ReplicationControllers have been deprecated in favor of ReplicaSets. However, you should not be creating these directly but instead managing them through Deployments. So, in order to continue following along with the book, the following code from the book:
kubectl run kubia --image=luksa/kubia --port=8080 --generator=run/v1
should be replaced with:
kubectl create kubia --image=luksa/kubia --port=8080
This will create a Deployment and you can use k get replicaset
to view the ReplicaSet (instead of the ReplicationController like shown in 2.3.4). Basically any example you come across in the book that uses an rc can (hopefully) be replaced with a ReplicaSet
from kubernetes-in-action.
Related Issues (20)
- Hi. Struggling with the filter xpath example HOT 1
- Chapter 5 named ports minikube
- Ch 5 minikube NodePort External IP issue
- Chapter 6 permission error with sh script HOT 1
- Chapter8 in pod cannot access APIServer HOT 5
- Decrease image size
- chapter 2.3.1 generator flag no longer working HOT 1
- 2.3.6 Kubernetes DashBoard not available in GKE
- Ch4 ReplicaSet apiversion was not apps/v1beta2
- ch8 : ErrImagePull when create pod with curl.yaml
- kubernetes in action
- Chaper 11.2.1 Queries about Nodeport when requesting one of node HOT 1
- Chapter 6: Fortune Image seem to be failing during pull
- Chapter 6: A pod using a PersistentVolumeClaim volume: mongodb-pod-pvc.yaml
- 2.3.2 - Can't create Service object because no rc
- Chapter4: time-limited-batch-job.yaml
- Error Multipath Kubernetes Ingress, Cannot GET / HOT 1
- Fix kubia-deployment-v3-with-readinesscheck.yaml [Chapter09] HOT 1
- [Chapter 8] kubectl proxy image using arm64 architecture
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubernetes-in-action.