kubernetes/kops · error
error building root volume options: %v
Error message
error building root volume options: %v
What it means
Deriving the root volume options for the elastigroup failed; the instance group's root volume spec (size/type/IOPS combination) is invalid or unsupported for SpotInst.
Source
Thrown at pkg/model/awsmodel/spotinst.go:288
group.HealthCheckType = new(strings.ToUpper(v))
}
}
// Spot percentage.
if group.SpotPercentage == nil {
group.SpotPercentage = defaultSpotPercentage(ig)
}
// Instance profile.
group.IAMInstanceProfile, err = b.LinkToIAMInstanceProfile(ig)
if err != nil {
return fmt.Errorf("error building iam instance profile: %v", err)
}
// Root volume.
group.RootVolumeOpts, err = b.buildRootVolumeOpts(ig)
if err != nil {
return fmt.Errorf("error building root volume options: %v", err)
}
// Tenancy.
if ig.Spec.Tenancy != "" {
group.Tenancy = new(ig.Spec.Tenancy)
}
// Security groups.
group.SecurityGroups, err = b.buildSecurityGroups(c, ig)
if err != nil {
return fmt.Errorf("error building security groups: %v", err)
}
// SSH key.
group.SSHKey, err = b.LinkToSSHKey()
if err != nil {
return fmt.Errorf("error building ssh key: %v", err)
}View on GitHub (pinned to 4c8573c808)
Solutions
- Check the instance group's rootVolume settings form a valid combination
- Simplify to a standard gp2/gp3 configuration
- Re-run kops update
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at pkg/model/awsmodel/spotinst.go:288 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of kubernetes/kops@4c8573c808 (2026-09-05).
Data as JSON: /api/errors/0d6047d8b553aecf.
Report an issue: GitHub.